From 6990d629775f2554f4747dc71c51433ca8d45ff3 Mon Sep 17 00:00:00 2001 From: Itamar Date: Fri, 18 Dec 2020 16:59:10 +0200 Subject: [PATCH] Ports: Tweak configuration flags of gcc port to support shared binaries --- Ports/gcc/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ports/gcc/package.sh b/Ports/gcc/package.sh index 177d2bbd48f..828bfcb07a9 100755 --- a/Ports/gcc/package.sh +++ b/Ports/gcc/package.sh @@ -2,7 +2,7 @@ port=gcc version=10.2.0 useconfigure=true -configopts="--target=i686-pc-serenity --with-sysroot=/ --with-build-sysroot=$SERENITY_ROOT/Build/Root --with-newlib --enable-languages=c,c++ --disable-lto --disable-nls" +configopts="--target=i686-pc-serenity --with-sysroot=/ --with-build-sysroot=$SERENITY_ROOT/Build/Root --with-newlib --enable-languages=c,c++ --disable-lto --disable-nls --enable-shared --enable-default-pie --enable-host-shared" files="https://ftp.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz gcc-${version}.tar.xz https://ftp.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz.sig gcc-${version}.tar.xz.sig https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"