Skip to content

Commit 49fc141

Browse files
pythongh-117752: Autoconf: fix -fno-semantic-interposition check (python#117789)
Force the compiler to issue an error if the flag is not supported.
1 parent 396b831 commit 49fc141

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

configure

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ if test "$Py_OPT" = 'true' ; then
17991799
AX_CHECK_COMPILE_FLAG([-fno-semantic-interposition],[
18001800
CFLAGS_NODIST="$CFLAGS_NODIST -fno-semantic-interposition"
18011801
LDFLAGS_NODIST="$LDFLAGS_NODIST -fno-semantic-interposition"
1802-
])
1802+
], [], [-Werror])
18031803
;;
18041804
esac
18051805
elif test "$ac_sys_system" = "Emscripten" -o "$ac_sys_system" = "WASI"; then

0 commit comments

Comments
 (0)