diff options
Diffstat (limited to 'make/gcc_target.mk')
-rw-r--r-- | make/gcc_target.mk | 2 |
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 |