projects
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1afda
)
[packages] baresip: infer SYSROOT from cross cpp, same fix as for "re"
author
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 19 Jan 2012 13:20:05 +0000
(13:20 +0000)
committer
jow
<jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 19 Jan 2012 13:20:05 +0000
(13:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29801
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
net/baresip/Makefile
patch
|
blob
|
history
diff --git
a/net/baresip/Makefile
b/net/baresip/Makefile
index
3ec702b
..
02f6885
100644
(file)
--- a/
net/baresip/Makefile
+++ b/
net/baresip/Makefile
@@
-79,7
+79,7
@@
define Build/Compile
CC="$(TARGET_CC)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \
- SYSROOT="$
(TOOLCHAIN_DIR
)" \
+ SYSROOT="$
$$$(echo '#include <pthread.h>' | $(TARGET_CROSS)cpp -x c | sed -ne 's,^# [0-9]* \"\(.*\)/include/pthread\.h\".*,\1,p' | head -n1
)" \
SYSROOT_ALT="$(STAGING_DIR)/usr" \
RELEASE=1 \
CROSS_COMPILE="$(TARGET_CROSS)" \