From: Jo-Philipp Wich Date: Fri, 15 Jun 2012 12:57:29 +0000 (+0000) Subject: uclibc++.mk: override the cc binary instead of the wrapper command when ccache is... X-Git-Tag: reboot~13598 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f9caf1abd1727cd49a5866f3da73fc88180e0aed;p=openwrt%2Fstaging%2Fxback.git uclibc++.mk: override the cc binary instead of the wrapper command when ccache is used SVN-Revision: 32383 --- diff --git a/include/uclibc++.mk b/include/uclibc++.mk index 817484377f..084ba6aab1 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