mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
Ports: Don't try to enable PGO for python3 when cross-compiling
The --enable-optimizations flag attempts to enable PGO. Profile-guided optimization is great in general, but will not work at all when doing a cross-compile. If there's a more fine-grained flag for generic optimization levels that doesn't try to do PGO, we should enable that instead. The flag also enables `-fno-semantic-interposition`, but our GCC patches enable that by default for -fPIC anyway, so that's not necessary.
This commit is contained in:
parent
498d3d8537
commit
3ff7b76502
|
@ -17,9 +17,8 @@ icon_file="../launcher.ico" # This is an older icon that's downloaded separately
|
|||
|
||||
depends=("bzip2" "libffi" "libuuid" "ncurses" "openssl" "readline" "sqlite" "termcap" "zlib")
|
||||
|
||||
configopts=("--enable-optimizations" "--disable-ipv6" "--without-ensurepip" "ac_cv_file__dev_ptmx=no" "ac_cv_file__dev_ptc=no")
|
||||
configopts=("--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"
|
||||
|
||||
pre_configure() {
|
||||
|
|
Loading…
Reference in a new issue