summaryrefslogtreecommitdiff
path: root/Ports/gcc/package.sh
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2020-12-18 16:59:10 +0200
committerAndreas Kling <kling@serenityos.org>2020-12-24 21:46:35 +0100
commit6990d629775f2554f4747dc71c51433ca8d45ff3 (patch)
tree5f4a3d45ad790c27f16e1d98a4a042b3e5555187 /Ports/gcc/package.sh
parenta83a9f3a55a6e4fe8f849e99252658293ce39b88 (diff)
downloadserenity-6990d629775f2554f4747dc71c51433ca8d45ff3.zip
Ports: Tweak configuration flags of gcc port to support shared binaries
Diffstat (limited to 'Ports/gcc/package.sh')
-rwxr-xr-xPorts/gcc/package.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ports/gcc/package.sh b/Ports/gcc/package.sh
index 177d2bbd48..828bfcb07a 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"