From 6595db9ecf0ca0e92e77281fb20dae1f99bc6619 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Fri, 10 Sep 2021 19:57:02 +0100 Subject: [PATCH] Ports: Build Python with --enable-optimizations This no longer results in linker errors as the FIXME states, so let's get some perf for free :^) --- Ports/python3/package.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Ports/python3/package.sh b/Ports/python3/package.sh index 57cb05c831e..b65be8b122e 100755 --- a/Ports/python3/package.sh +++ b/Ports/python3/package.sh @@ -18,8 +18,7 @@ icon_file="../launcher.ico" # This is an older icon that's downloaded separately # We could also add `openssl` here, but the _ssl modules doesn't build at the moment depends="bzip2 libffi libuuid ncurses readline sqlite termcap zlib" -# FIXME: --enable-optimizations results in lots of __gcov_* linker errors -configopts="--disable-ipv6 --without-ensurepip ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no" +configopts="--enable-optimizations --disable-ipv6 --without-ensurepip ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no" export CC="${CC} --sysroot=${SERENITY_INSTALL_ROOT}" export BLDSHARED="${CC} -shared"