mirror of
https://github.com/openwrt/telephony.git
synced 2026-04-15 10:51:57 +00:00
re, rem, baresip, restund: use another approach to find the "sysroot", the current way still fails on Backfire - sigh
This commit is contained in:
@@ -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)" \
|
||||
|
||||
Reference in New Issue
Block a user