diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-01-31 15:59:31 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-01-31 15:59:31 +0100 |
commit | 8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec (patch) | |
tree | 3dcd6061810fe0298cc9913f5b93f0df142f1eab /def/a/gcc | |
parent | 289055301db8c7bf26eaf47228e0747c69623bfd (diff) | |
download | mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.tar.gz mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.tar.xz mewix-8b4c9aad73a0ec3bcf2bc2c66a356fc829a487ec.zip |
add package categories, defaulting to a/
Diffstat (limited to 'def/a/gcc')
-rw-r--r-- | def/a/gcc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/def/a/gcc b/def/a/gcc new file mode 100644 index 0000000..56d8d8e --- /dev/null +++ b/def/a/gcc @@ -0,0 +1,16 @@ +pkgname=gcc +version=9.2.0 +distfiles="http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.xz" + +configure_args="--enable-languages=c,c++,lto --disable-multilib --disable-libsanitizer --build=x86_64-linux-musl" + +post_extract() { + # disable fixinc crap + sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in + + # use lib not lib64 by default + sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64 + sed -i 's/lib64/lib/' gcc/config/i386/linux64.h +} + +# XXX posix c89 wrappers |