diff options
author | Linus Groh <mail@linusgroh.de> | 2021-09-10 19:57:02 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-11 00:28:39 +0200 |
commit | 6595db9ecf0ca0e92e77281fb20dae1f99bc6619 (patch) | |
tree | fd669320a6d769d3e305f87025d07e8466a6d106 | |
parent | 6b15faed30d345b1acd427db158d4b5a5afae7e7 (diff) | |
download | serenity-6595db9ecf0ca0e92e77281fb20dae1f99bc6619.zip |
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 :^)
-rwxr-xr-x | Ports/python3/package.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Ports/python3/package.sh b/Ports/python3/package.sh index 57cb05c831..b65be8b122 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" |