Skip to content

Commit 3f2f0cf

Browse files
[3.12] gh-117752: Autoconf: fix -fno-semantic-interposition check (GH-117789) (#117800)
Force the compiler to issue an error if the flag is not supported. (cherry picked from commit 49fc141) Co-authored-by: Erlend E. Aasland <[email protected]>
1 parent c64b65e commit 3f2f0cf

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

configure

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ if test "$Py_OPT" = 'true' ; then
17781778
AX_CHECK_COMPILE_FLAG([-fno-semantic-interposition],[
17791779
CFLAGS_NODIST="$CFLAGS_NODIST -fno-semantic-interposition"
17801780
LDFLAGS_NODIST="$LDFLAGS_NODIST -fno-semantic-interposition"
1781-
])
1781+
], [], [-Werror])
17821782
;;
17831783
esac
17841784
elif test "$ac_sys_system" = "Emscripten" -o "$ac_sys_system" = "WASI"; then

0 commit comments

Comments
 (0)