Changeset 30325


Ignore:
Timestamp:
2012-02-06T11:21:49+01:00 (6 years ago)
Author:
jow
Message:

[packages] re, rem, baresip, restund: use another approach to find the "sysroot", the current way still fails on Backfire - sigh

Location:
packages
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/re/Makefile

    r29799 r30325  
    3636                EXTRA_LFLAGS="-lm" \ 
    3737                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    38                 SYSROOT="$$$$(echo '#include <pthread.h>' | $(TARGET_CROSS)cpp -x c | sed -ne 's,^# [0-9]* \"\(.*\)/include/pthread\.h\".*,\1,p' | head -n1)" \ 
     38                SYSROOT="$$$$($(FIND) $(TOOLCHAIN_DIR) -path '*/include/pthread.h' | sed -ne '1s#/include/pthread.h##p')" \ 
    3939                SYSROOT_ALT="$(STAGING_DIR)/usr" \ 
    4040                RELEASE=1 \ 
  • packages/libs/rem/Makefile

    r29791 r30325  
    3838                EXTRA_LFLAGS="-lm" \ 
    3939                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    40                 SYSROOT="$(TOOLCHAIN_DIR)" \ 
     40                SYSROOT="$$$$($(FIND) $(TOOLCHAIN_DIR) -path '*/include/pthread.h' | sed -ne '1s#/include/pthread.h##p')" \ 
    4141                SYSROOT_ALT="$(STAGING_DIR)/usr" \ 
    4242                RELEASE=1 \ 
  • packages/net/baresip/Makefile

    r29801 r30325  
    8080                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    8181                EXTRA_CFLAGS="$(TARGET_CFLAGS) -DOPENWRT" \ 
    82                 SYSROOT="$$$$(echo '#include <pthread.h>' | $(TARGET_CROSS)cpp -x c | sed -ne 's,^# [0-9]* \"\(.*\)/include/pthread\.h\".*,\1,p' | head -n1)" \ 
     82                SYSROOT="$$$$($(FIND) $(TOOLCHAIN_DIR) -path '*/include/pthread.h' | sed -ne '1s#/include/pthread.h##p')" \ 
    8383                SYSROOT_ALT="$(STAGING_DIR)/usr" \ 
    8484                RELEASE=1 \ 
  • packages/net/restund/Makefile

    r29800 r30325  
    5252                EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ 
    5353                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    54                 SYSROOT="$$$$(echo '#include <pthread.h>' | $(TARGET_CROSS)cpp -x c | sed -ne 's,^# [0-9]* \"\(.*\)/include/pthread\.h\".*,\1,p' | head -n1)" \ 
     54                SYSROOT="$$$$($(FIND) $(TOOLCHAIN_DIR) -path '*/include/pthread.h' | sed -ne '1s#/include/pthread.h##p')" \ 
    5555                SYSROOT_ALT="$(STAGING_DIR)/usr" \ 
    5656                RELEASE=1 \ 
Note: See TracChangeset for help on using the changeset viewer.