summaryrefslogtreecommitdiff
path: root/toolchain/ccache/ccache.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-10-19 19:20:38 +0000
committerEric Andersen <andersen@codepoet.org>2004-10-19 19:20:38 +0000
commitdbfd77f671a30254b954e4faa5da5e570b82dcab (patch)
tree30fe67a05fae86bc44b1f0e0f499cb61ac8c4d6b /toolchain/ccache/ccache.mk
parent8500fcd5fd3d8ed19bf231032de3de74708b2c8f (diff)
Kristian Hoffmann writes:
TARGET_LANGUAGES wasn't being set correctly if you enable GCJ or C++ in the buildroot config. It looks like INSTALL_LIBSTDCPP and INSTALL_LIBGCJ were renamed to BR2_INSTALL_... in the config system, but not in the gcc and ccache makefiles. -Kristian
Diffstat (limited to 'toolchain/ccache/ccache.mk')
-rw-r--r--toolchain/ccache/ccache.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/ccache/ccache.mk b/toolchain/ccache/ccache.mk
index b36f27e2c..60e99c6d1 100644
--- a/toolchain/ccache/ccache.mk
+++ b/toolchain/ccache/ccache.mk
@@ -62,7 +62,7 @@ $(STAGING_DIR)/$(CCACHE_TARGET_BINARY): $(CCACHE_DIR1)/$(CCACHE_BINARY)
ln -fs ../usr/bin/ccache $(GNU_TARGET_NAME)-gcc; \
ln -fs ../usr/bin/ccache $(REAL_GNU_TARGET_NAME)-cc; \
ln -fs ../usr/bin/ccache $(REAL_GNU_TARGET_NAME)-gcc);
-ifeq ($(INSTALL_LIBSTDCPP),true)
+ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
[ -f $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-c++ ] && \
mv $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-c++ $(STAGING_DIR)/bin-ccache/
[ -f $(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-g++ ] && \