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 d73fcf9..a2564a1 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)