Skip to content

Commit 0f8e7da

Browse files
erlend-aaslandmiss-islington
authored andcommitted
pythongh-117752: Autoconf: fix -fno-semantic-interposition check (pythonGH-117789)
Force the compiler to issue an error if the flag is not supported. (cherry picked from commit 49fc141) Co-authored-by: Erlend E. Aasland <erlend@python.org>
1 parent c64b65e commit 0f8e7da

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
@@ -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)