diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-06-18 08:50:26 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-06-18 08:50:26 +0000 |
commit | 8b3a99d374a567cb7a58742f1ea3fc5c2df79de1 (patch) | |
tree | 18b28adcd65ee4573a2f5b940789bdc1baf37147 | |
parent | 9f3403679d823f3b7d4eb2e2918db58b1a0b8fff (diff) |
[uclibc++] fix ccache related build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32421 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/uclibc++.mk | 4 | ||||
-rw-r--r-- | package/uclibc++/Makefile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/uclibc++.mk b/include/uclibc++.mk index 084ba6aab..a1a61f26d 100644 --- a/include/uclibc++.mk +++ b/include/uclibc++.mk @@ -9,8 +9,8 @@ CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp ifneq ($(CONFIG_USE_UCLIBCXX),) ifneq ($(CONFIG_CCACHE),) - TARGET_CXX_NOCACHE="g++-uc" + TARGET_CXX_NOCACHE=g++-uc else - TARGET_CXX="g++-uc" + TARGET_CXX=g++-uc endif endif diff --git a/package/uclibc++/Makefile b/package/uclibc++/Makefile index b73e8bdd8..ac5032b55 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) \ |