re, rem, baresip, restund: use another approach to find the "sysroot", the current way still fails on Backfire - sigh
This commit is contained in:
parent
214e361c8a
commit
ef611c602e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ define Build/Compile
|
|||
EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \
|
||||
EXTRA_LFLAGS="-lm" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
SYSROOT="$$$$(echo '#include <pthread.h>' | $(TARGET_CROSS)cpp -x c | sed -ne 's,^# [0-9]* \"\(.*\)/include/pthread\.h\".*,\1,p' | head -n1)" \
|
||||
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)" \
|
||||
|
|
Loading…
Reference in a new issue