summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/uclibc++.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uclibc++.mk b/include/uclibc++.mk
index 817484377..084ba6aab 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