aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/uclibc++/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/uclibc++/Makefile b/package/uclibc++/Makefile
index b73e8bdd80..ac5032b55d 100644
--- a/package/uclibc++/Makefile
+++ b/package/uclibc++/Makefile
@@ -45,6 +45,10 @@ UCLIBC_TARGET_ARCH:=$(shell echo $(ARCH) | sed -e s'/-.*//' \
TARGET_CFLAGS += $(FPIC)
+ifneq ($(CONFIG_CCACHE),)
+TARGET_CXX=$(TARGET_CXX_NOCACHE)
+endif
+
MAKE_FLAGS:= \
TOPDIR="$(PKG_BUILD_DIR)/" \
$(TARGET_CONFIGURE_OPTS) \