Changeset 29800


Ignore:
Timestamp:
2012-01-19T14:18:08+01:00 (4 years ago)
Author:
jow
Message:

[packages] restund: infer SYSROOT from cross cpp, same fix as for "re"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/restund/Makefile

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