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

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

SVN-Revision: 37179
This commit is contained in:
Felix Fietkau 2013-07-05 07:53:14 +00:00
parent 1a3ad5a037
commit 1446a26cc2

View file

@ -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)