From b61e6e18b07d19f08332d4b23f18cee961816d66 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 21 Sep 2012 10:40:14 +0200 Subject: add -pthread, needed for static linking --- package/busybox/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/busybox/Makefile') diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 5180e6ede..946c85b18 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -39,7 +39,7 @@ BB_MAKE_FLAGS:= V=1 IPKG_ARCH="${CPU_ARCH}" ARCH="${ARCH}" GCC_HONOUR_COPTS=s \ HOSTCC="${CC_FOR_BUILD}" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \ -C ${WRKBUILD} ifneq (${ADK_NATIVE},y) -BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS='-ltirpc' EXTRA_CPPFLAGS="-I$(STAGING_DIR)/usr/include/tirpc" +BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS='-pthread -ltirpc' EXTRA_CPPFLAGS="-I$(STAGING_DIR)/usr/include/tirpc" endif # XXX: Although this looks like all new symbols are enabled when 'make oldconfig' runs, they're not. -- cgit v1.2.3