gcc: do not delete DATESTAMP and DEV-PHASE version info (fixes __GLIBCXX__ definition)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37179
master
Felix Fietkau 12 years ago
parent 1a3ad5a037
commit 1446a26cc2
  1. 2
      toolchain/gcc/minimal/Makefile

@ -21,8 +21,6 @@ define Host/Prepare
ln -snf $(GCC_DIR) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME) ln -snf $(GCC_DIR) $(BUILD_DIR_TOOLCHAIN)/$(PKG_NAME)
$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(HOST_BUILD_DIR)/ $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(HOST_BUILD_DIR)/
$(SED) 's,^MULTILIB_OSDIRNAMES,# MULTILIB_OSDIRNAMES,' $(HOST_BUILD_DIR)/gcc/config/*/t-* $(SED) 's,^MULTILIB_OSDIRNAMES,# MULTILIB_OSDIRNAMES,' $(HOST_BUILD_DIR)/gcc/config/*/t-*
$(SED) 'd' $(HOST_BUILD_DIR)/gcc/DATESTAMP
$(SED) 'd' $(HOST_BUILD_DIR)/gcc/DEV-PHASE
#(cd $(HOST_BUILD_DIR)/libstdc++-v3; autoconf;); #(cd $(HOST_BUILD_DIR)/libstdc++-v3; autoconf;);
$(SED) 's,gcc_no_link=yes,gcc_no_link=no,' $(HOST_BUILD_DIR)/libstdc++-v3/configure $(SED) 's,gcc_no_link=yes,gcc_no_link=no,' $(HOST_BUILD_DIR)/libstdc++-v3/configure
mkdir -p $(GCC_BUILD_DIR) mkdir -p $(GCC_BUILD_DIR)

Loading…
Cancel
Save