Skip to content

Commit 24d901a

Browse files
committed
gh-112301: Revert "Add fortify source level 3 to default compiler options (gh-121520)"
Adding the flag broke buildbots. This reverts commit bdab67e.
1 parent c8d2630 commit 24d901a

File tree

3 files changed

+0
-42
lines changed

3 files changed

+0
-42
lines changed

Misc/NEWS.d/next/Security/2024-07-08-23-39-04.gh-issue-112301.TD8G01.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

configure

Lines changed: 0 additions & 39 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2460,7 +2460,6 @@ AS_VAR_IF([with_strict_overflow], [yes],
24602460
# These flags should be enabled by default for all builds.
24612461
AX_CHECK_COMPILE_FLAG([-fstack-protector-strong], [BASECFLAGS="$BASECFLAGS -fstack-protector-strong"], [AC_MSG_WARN([-fstack-protector-strong not supported])], [-Werror])
24622462
AX_CHECK_COMPILE_FLAG([-Wtrampolines], [BASECFLAGS="$BASECFLAGS -Wtrampolines"], [AC_MSG_WARN([-Wtrampolines not supported])], [-Werror])
2463-
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])])
24642463

24652464
case $GCC in
24662465
yes)

0 commit comments

Comments
 (0)