Przeglądaj źródła

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

SVN-Revision: 32383
Jo-Philipp Wich 13 lat temu
rodzic
commit
f9caf1abd1
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      include/uclibc++.mk

+ 4 - 0
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