mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-38980: Add -fno-semantic-interposition when building with optimizations (GH-22862)
This commit is contained in:
parent
27f1bd8787
commit
b451b0e9a7
4 changed files with 27 additions and 0 deletions
8
configure
vendored
8
configure
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue