uclibc++.mk: override the cc binary instead of the wrapper command when ccache is used

SVN-Revision: 32383
This commit is contained in:
Jo-Philipp Wich 2012-06-15 12:57:29 +00:00
parent fe94e174e5
commit f9caf1abd1
1 changed files with 4 additions and 0 deletions

View File

@ -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