projects
/
feed
/
telephony.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0ae2b7
)
re, rem, baresip, restund: use another approach to find the "sysroot", the current...
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 6 Feb 2012 10:21:49 +0000
(10:21 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 29 Jan 2014 13:52:22 +0000
(13:52 +0000)
libs/rem/Makefile
patch
|
blob
|
history
diff --git
a/libs/rem/Makefile
b/libs/rem/Makefile
index fc2d9c0a5335f50ecac9229a129b1c9118101dcb..c145912b1b0e4575cccf7556a38b4db2ef2b82d2 100644
(file)
--- a/
libs/rem/Makefile
+++ b/
libs/rem/Makefile
@@
-37,7
+37,7
@@
define Build/Compile
EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \
EXTRA_LFLAGS="-lm" \
DESTDIR="$(PKG_INSTALL_DIR)" \
- SYSROOT="$
(TOOLCHAIN_DIR
)" \
+ SYSROOT="$
$$$($(FIND) $(TOOLCHAIN_DIR) -path '*/include/pthread.h' | sed -ne '1s#/include/pthread.h##p'
)" \
SYSROOT_ALT="$(STAGING_DIR)/usr" \
RELEASE=1 \
CROSS_COMPILE="$(TARGET_CROSS)" \