diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-02-18 00:15:24 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-02-18 00:15:24 +0800 |
| commit | b5a8a6c29e40f786ceb808c0b95f01c4251111d1 (patch) | |
| tree | 78e38b50664693918e3f3946714cb6bb9df8dce9 /repos/core/gcc/abuild | |
| parent | df36bfd61252b7c543ab1efbfc5482b453805b0f (diff) | |
| download | alicelinux-b5a8a6c29e40f786ceb808c0b95f01c4251111d1.tar.gz alicelinux-b5a8a6c29e40f786ceb808c0b95f01c4251111d1.zip | |
added clang branch
Diffstat (limited to 'repos/core/gcc/abuild')
| -rw-r--r-- | repos/core/gcc/abuild | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/repos/core/gcc/abuild b/repos/core/gcc/abuild deleted file mode 100644 index 66591c3d..00000000 --- a/repos/core/gcc/abuild +++ /dev/null @@ -1,55 +0,0 @@ -name=gcc -version=14.2.0 -release=1 -source="https://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.xz - c89 - c99" -keep_static=1 - -build() { - # /lib is 64bit libraries directory - sed -e '/m64=/s/lib64/lib/' \ - -i.orig gcc/config/i386/t-linux64 - - mkdir -v build - cd build - - SED=sed \ - ../configure \ - --prefix=/usr \ - --libexecdir=/usr/lib \ - --with-system-zlib \ - --with-pkgversion="Alice Linux" \ - --with-zstd=no \ - --enable-languages=c,c++ \ - --enable-lto \ - --enable-threads=posix \ - --enable-__cxa_atexit \ - --enable-default-pie \ - --enable-default-ssp \ - --disable-symvers \ - --disable-libmudflap \ - --disable-fixed-point \ - --disable-libstdcxx-pch \ - --disable-fixincludes \ - --disable-bootstrap \ - --disable-libmpx \ - --disable-multilib \ - --disable-libsanitizer - make - make DESTDIR=$PKG -j1 install - - ln -sv gcc $PKG/usr/bin/cc - - install -v -dm755 $PKG/usr/lib/bfd-plugins - ln -sfv ../../lib/gcc/$(gcc -dumpmachine)/$version/liblto_plugin.so \ - $PKG/usr/lib/bfd-plugins/ - - mkdir -pv $PKG/usr/share/gdb/auto-load/usr/lib - mv -v $PKG/usr/lib/*gdb.py $PKG/usr/share/gdb/auto-load/usr/lib - - install -Dm755 $SRC/c89 $PKG/usr/bin/c89 - install -Dm755 $SRC/c99 $PKG/usr/bin/c99 - - rm -r $PKG/usr/share/$name-$version -} |