diff options
author | tnut <thierryn1 at hispeed dot ch> | 2011-03-27 00:00:57 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2011-03-27 00:00:57 +0100 |
commit | 659fe23ffb7c3fe9c6dc387268e414eb268d30de (patch) | |
tree | f22460d271a3b8177076c4a073e1e8c39e163553 | |
parent | 516e489f48f91c6d8357a19dd7d964791e6f5d4e (diff) | |
download | nutyx-pakxe-659fe23ffb7c3fe9c6dc387268e414eb268d30de.tar.gz nutyx-pakxe-659fe23ffb7c3fe9c6dc387268e414eb268d30de.tar.bz2 nutyx-pakxe-659fe23ffb7c3fe9c6dc387268e414eb268d30de.tar.xz nutyx-pakxe-659fe23ffb7c3fe9c6dc387268e414eb268d30de.zip |
suppression fichier obsolete
-rwxr-xr-x | base/gcc/build.original | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/base/gcc/build.original b/base/gcc/build.original deleted file mode 100755 index ee162770d..000000000 --- a/base/gcc/build.original +++ /dev/null @@ -1,51 +0,0 @@ -# Description: La collection de compilateurs C, C++, obc GNU sans leur librairies -# URL: http://gcc.gnu.org -# Packager: Thierry Nuttens thierryn1 at hispeed dot ch -# Maintainer: Linux From Scratch - -name=gcc -version=4.3.2 -release=2 -group=test -source=(ftp://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2\ - $name-$version-nocheck-fixincludes.patch\ -) -# $name-$version-fixinc.patch) - -build() { - cd $name-$version - patch -Np1 -i ../$name-$version-nocheck-fixincludes.patch - - sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in - sed -i 's/^XCFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in - sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in - - - mkdir ../gcc-build - cd ../gcc-build - ../$name-$version/configure --prefix=/usr \ - --libexecdir=/usr/lib \ - --enable-languages=c,c++,objc \ - --enable-threads=posix \ - --enable-__cxa_atexit \ - --enable-clocale=gnu \ - --enable-shared \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - --with-x=no --disable-bootstrap - make -j2 - make -k check -j2 - make DESTDIR=$PKG install - - mkdir $PKG/lib - ln -sf ../usr/bin/cpp $PKG/lib/cpp - ln -sf gcc $PKG/usr/bin/cc - ln -sf g++ $PKG/usr/bin/c++ - # Remove the librairies and locales which belong to gcc-libs - rm -rf $PKG/usr/lib - rm -rf $PKG/usr/share/locale - # Remove the dir file - if [ -f $PKG/usr/share/info/dir ]; then - rm $PKG/usr/share/info/dir - fi -} |