diff options
author | John Crispin <john@openwrt.org> | 2012-06-18 08:50:26 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2012-06-18 08:50:26 +0000 |
commit | 0a684babcc49a61a631f61d293543c4c53d193b4 (patch) | |
tree | a3b0dead74cf21a376db628f9e07c34361872a11 /package/uclibc++ | |
parent | 33600679329458db7a0d258f3985daa52d98bf75 (diff) | |
download | upstream-0a684babcc49a61a631f61d293543c4c53d193b4.tar.gz upstream-0a684babcc49a61a631f61d293543c4c53d193b4.tar.bz2 upstream-0a684babcc49a61a631f61d293543c4c53d193b4.zip |
fix ccache related build breakage
SVN-Revision: 32421
Diffstat (limited to 'package/uclibc++')
-rw-r--r-- | package/uclibc++/Makefile | 4 |
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) \ |