From d7c50777595114086cc689a47a3f67f2b531a688 Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 15 Jun 2012 12:57:29 +0000 Subject: [include] uclibc++.mk: override the cc binary instead of the wrapper command when ccache is used git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32383 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/uclibc++.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 -- cgit v1.2.3