diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-15 12:57:29 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-06-15 12:57:29 +0000 |
commit | 41e9131509c8ff5e54d3cec041d7c10f3db46840 (patch) | |
tree | 71065a9fc5db50a46ea6cfc3ef253ac1e678426e | |
parent | 697d8300d06aca835e585eeca29bfed79f704723 (diff) | |
download | master-187ad058-41e9131509c8ff5e54d3cec041d7c10f3db46840.tar.gz master-187ad058-41e9131509c8ff5e54d3cec041d7c10f3db46840.tar.bz2 master-187ad058-41e9131509c8ff5e54d3cec041d7c10f3db46840.zip |
[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
-rw-r--r-- | include/uclibc++.mk | 4 |
1 files changed, 4 insertions, 0 deletions
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 |