gcc: fix up displayed version after r37179
authorFelix Fietkau <nbd@openwrt.org>
Fri, 5 Jul 2013 09:16:08 +0000 (09:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 5 Jul 2013 09:16:08 +0000 (09:16 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37180

toolchain/gcc/minimal/Makefile

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