10000 gh-112301: Make fortify source option check -Werror (gh-122141) · python/cpython@ca0f7c4 · GitHub
[go: up one dir, main page]

Skip to content

Commit ca0f7c4

Browse files
authored
gh-112301: Make fortify source option check -Werror (gh-122141)
1 parent 2f74b70 commit ca0f7c4

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
@@ -2519,7 +2519,7 @@ AC_MSG_RESULT([$enable_slower_safety])
25192519

25202520
if test "$enable_slower_safety" = "yes"
25212521
then
2522-
AX_CHECK_COMPILE_FLAG([-D_FORTIFY_SOURCE=3], [BASECFLAGS="$BASECFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3"], [AC_MSG_WARN([-D_FORTIFY_SOURCE=3 not supported])])
2522+
AX_CHECK_COMPILE_FLAG([-D_FORTIFY_SOURCE=3], [BASECFLAGS="$BASECFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3"], [AC_MSG_WARN([-D_FORTIFY_SOURCE=3 not supported])], [-Werror])
25232523
fi
25242524

25252525
case $GCC in

0 commit comments

Comments
 (0)
0