summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-09-21 10:40:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2012-09-21 10:40:14 +0200
commitb61e6e18b07d19f08332d4b23f18cee961816d66 (patch)
tree5606267462ad9d36a148334d6fe127980ecf0b01
parente8da3e8b88780b6751a234e59bcdfe3792625fe0 (diff)
add -pthread, needed for static linking
-rw-r--r--package/busybox/Makefile2
1 files changed, 1 insertions, 1 deletions
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.