]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Branding gcc with our name and release.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Feb 2009 17:35:31 +0000 (18:35 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Feb 2009 17:35:31 +0000 (18:35 +0100)
lfs/gcc

diff --git a/lfs/gcc b/lfs/gcc
index f78c6e16bf9a17ce59acccd550d72cbd93a5cb52..3364aa024114c77a981cb0af8606b958c44dd20d 100644 (file)
--- a/lfs/gcc
+++ b/lfs/gcc
@@ -105,6 +105,10 @@ $(OBJECT): $(objects)
        cd $(DIR_APP) && $(EXTRACTOR) $(DIR_DL)/mpfr-$(MPFR).tar.bz2
        cd $(DIR_APP) && ln -svf mpfr-* mpfr
 
+       # Branding gcc
+       cd $(DIR_APP) && sed -e "s:PKGVERSION:\"(GCC for $(NAME)-${VERSION}) \":" \
+               -i gcc/version.c
+
 ifeq "$(STAGE)" "toolchain"
 ifeq "$(PASS)" "1"
        ## Enable -fPIC by default