|
@@ -445,6 +445,9 @@ $(TARGET_DIR)/usr/bin/gcc: $(GCC_BUILD_DIR3)/.compiled
|
|
|
# Remove broken specs file (cross compile flag is set).
|
|
|
rm -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/specs
|
|
|
|
|
|
+ # Remove useless copies of gcc
|
|
|
+ rm -f $(TARGET_DIR)/usr/bin/$(REAL_GNU_TARGET_NAME)-gcc*
|
|
|
+
|
|
|
# Work around problem of missing syslimits.h
|
|
|
if [ ! -f $(TARGET_DIR)/usr/$(GCC_LIB_SUBDIR)/$(GCC_INCLUDE_DIR)/syslimits.h ]; then \
|
|
|
echo "warning: working around missing syslimits.h"; \
|