summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-15 12:57:29 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-15 12:57:29 +0000
commitf9caf1abd1727cd49a5866f3da73fc88180e0aed (patch)
treeb9151f48c9fd8b9eccb705c44389f1720fc9ed7a /include
parentfe94e174e523e335b88f7eaf7aa418ef9b3a3014 (diff)
downloadmtk-20170518-f9caf1abd1727cd49a5866f3da73fc88180e0aed.zip
mtk-20170518-f9caf1abd1727cd49a5866f3da73fc88180e0aed.tar.gz
mtk-20170518-f9caf1abd1727cd49a5866f3da73fc88180e0aed.tar.bz2
uclibc++.mk: override the cc binary instead of the wrapper command when ccache is used
SVN-Revision: 32383
Diffstat (limited to 'include')
-rw-r--r--include/uclibc++.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uclibc++.mk b/include/uclibc++.mk
index 8174843..084ba6a 100644
--- a/include/uclibc++.mk
+++ b/include/uclibc++.mk
@@ -8,5 +8,9 @@ PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX
CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp
ifneq ($(CONFIG_USE_UCLIBCXX),)
+ ifneq ($(CONFIG_CCACHE),)
+ TARGET_CXX_NOCACHE="g++-uc"
+ else
TARGET_CXX="g++-uc"
+ endif
endif