aboutsummaryrefslogtreecommitdiffstats
path: root/package/uclibc++/Makefile
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-06-18 08:50:26 +0000
committerJohn Crispin <blogic@openwrt.org>2012-06-18 08:50:26 +0000
commit37b25592de08ff47e53bf1a775b79643d0cce7f3 (patch)
tree18b28adcd65ee4573a2f5b940789bdc1baf37147 /package/uclibc++/Makefile
parent75a137d38bd701a4062789e7a59b173d20db6928 (diff)
downloadupstream-37b25592de08ff47e53bf1a775b79643d0cce7f3.tar.gz
upstream-37b25592de08ff47e53bf1a775b79643d0cce7f3.tar.bz2
upstream-37b25592de08ff47e53bf1a775b79643d0cce7f3.zip
[uclibc++] fix ccache related build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32421 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uclibc++/Makefile')
-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) \