We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de1d189 commit fa83005Copy full SHA for fa83005
configure.ac
@@ -935,7 +935,9 @@ if test "$TARGET_OS" != "windows"; then
935
AX_CHECK_COMPILE_FLAG([-fPIC], [PIC_FLAGS="-fPIC"])
936
fi
937
938
-dnl All versions of gcc that we commonly use for building are subject to bug
+dnl Versions of gcc prior to 12.1 (commit
939
+dnl https://github.com/gcc-mirror/gcc/commit/551aa75778a4c5165d9533cd447c8fc822f583e1)
940
+dnl are subject to a bug, see the gccbug_90348 test case and
941
dnl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348. To work around that, set
942
dnl -fstack-reuse=none for all gcc builds. (Only gcc understands this flag)
943
AX_CHECK_COMPILE_FLAG([-fstack-reuse=none], [HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-reuse=none"])
0 commit comments