diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-10-21 21:46:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 21:46:52 (GMT) |
commit | b451b0e9a772f009f4161f7a46476190d0d17ac1 (patch) | |
tree | f25e00d32d535a732f4bf189a892a04d7479c6cf /configure | |
parent | 27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839 (diff) | |
download | cpython-b451b0e9a772f009f4161f7a46476190d0d17ac1.zip cpython-b451b0e9a772f009f4161f7a46476190d0d17ac1.tar.gz cpython-b451b0e9a772f009f4161f7a46476190d0d17ac1.tar.bz2 |
bpo-38980: Add -fno-semantic-interposition when building with optimizations (GH-22862)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -6482,6 +6482,14 @@ if test "$Py_OPT" = 'true' ; then DEF_MAKE_ALL_RULE="profile-opt" REQUIRE_PGO="yes" DEF_MAKE_RULE="build_all" + case $CC in + *gcc*) + CFLAGS_NODIST="$CFLAGS_NODIST -fno-semantic-interposition" + LDFLAGS_NODIST="$LDFLAGS_NODIST -fno-semantic-interposition" + ;; + esac + + else DEF_MAKE_ALL_RULE="build_all" REQUIRE_PGO="no" |