summaryrefslogtreecommitdiffstats
path: root/make/gcc_target.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-02-23 08:54:13 +0000
committerEric Andersen <andersen@codepoet.org>2003-02-23 08:54:13 +0000
commitd9d8e42cb97a282d347e2bef46a554fc062b3b01 (patch)
treed37f7fabd78148644c25e861b5307ed41950adee /make/gcc_target.mk
parent68671dcc616747d5d8350c9a32286691e6101cb2 (diff)
downloadbuildroot-novena-d9d8e42cb97a282d347e2bef46a554fc062b3b01.tar.gz
buildroot-novena-d9d8e42cb97a282d347e2bef46a554fc062b3b01.zip
Update tar version. Minor fix for gcc includes when NOT
building a bootstrapping toolchain.
Diffstat (limited to 'make/gcc_target.mk')
-rw-r--r--make/gcc_target.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/gcc_target.mk b/make/gcc_target.mk
index 2e60b81f7..5d9cb25b7 100644
--- a/make/gcc_target.mk
+++ b/make/gcc_target.mk
@@ -385,9 +385,11 @@ $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
rm -f $(TARGET_DIR)/usr/lib/*.la*
# gcc "fixincludes" step is totally broken and takes unwanted
# stuff from the host system. Fix that here.
+ifeq ($(USE_UCLIBC_TOOLCHAIN),true)
rm -rf $(TARGET_DIR)/usr/lib/gcc-lib/$(GNU_TARGET_NAME)/*/include/*
-cp -a $(STAGING_DIR)/usr/lib/gcc-lib/$(GNU_TARGET_NAME)/*/include/* \
$(TARGET_DIR)/usr/lib/gcc-lib/$(GNU_TARGET_NAME)/*/include/
+endif
touch -c $(TARGET_DIR)/usr/bin/gcc
gcc_target: uclibc_target binutils_target $(TARGET_DIR)/usr/bin/gcc