8000 Remove redundant -fno-strict-overflow option from config · python/cpython@1e84a87 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e84a87

Browse files
committed
Remove redundant -fno-strict-overflow option from config
1 parent 98d9ea0 commit 1e84a87

File tree

2 files changed

+0
-42
lines changed

2 files changed

+0
-42
lines changed

configure

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

configure.ac

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2451,12 +2451,10 @@ AS_VAR_IF([with_strict_overflow], [yes],
24512451
[BASECFLAGS="$BASECFLAGS $STRICT_OVERFLOW_CFLAGS"],
24522452
[BASECFLAGS="$BASECFLAGS $NO_STRICT_OVERFLOW_CFLAGS"])
24532453

2454-
24552454
# Enable flags that warn and protect for potential security vulnerabilities.
24562455
# These flags should be enabled by default for all builds.
24572456
AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough], [BASECFLAGS="$BASECFLAGS -Wimplicit-fallthrough"], [AC_MSG_WARN([-Wimplicit-fallthrough not supported])])
24582457
AX_CHECK_COMPILE_FLAG([-fstack-protector-strong], [BASECFLAGS="$BASECFLAGS -fstack-protector-strong"], [AC_MSG_WARN([-fstack-protector-strong not supported])])
2459-
AX_CHECK_COMPILE_FLAG([-fno-strict-overflow], [BASECFLAGS="$BASECFLAGS -fno-strict-overflow"], [AC_MSG_WARN([-fno-strict-overflow not supported])])
24602458
case $CC in
24612459
*gcc*)
24622460
# Add GCC-specific compiler flags

0 commit comments

Comments
 (0)
0