summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/busybox/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 946c85b18..6b40bf082 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -40,6 +40,8 @@ BB_MAKE_FLAGS:= V=1 IPKG_ARCH="${CPU_ARCH}" ARCH="${ARCH}" GCC_HONOUR_COPTS=s \
-C ${WRKBUILD}
ifneq (${ADK_NATIVE},y)
BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS='-pthread -ltirpc' EXTRA_CPPFLAGS="-I$(STAGING_DIR)/usr/include/tirpc"
+else
+BB_MAKE_FLAGS+= EXTRA_CPPFLAGS="-I/usr/include/tirpc"
endif
# XXX: Although this looks like all new symbols are enabled when 'make oldconfig' runs, they're not.