mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 5eb82d5706 into merged_master (Bitcoin PR bitcoin/bitcoin#28672)
This commit is contained in:
commit
dfaaa876a2
1 changed files with 6 additions and 5 deletions
11
configure.ac
11
configure.ac
|
|
@ -480,6 +480,12 @@ fi
|
|||
dnl Don't allow extended (non-ASCII) symbols in identifiers. This is easier for code review.
|
||||
AX_CHECK_COMPILE_FLAG([-fno-extended-identifiers], [CORE_CXXFLAGS="$CORE_CXXFLAGS -fno-extended-identifiers"], [], [$CXXFLAG_WERROR])
|
||||
|
||||
dnl Currently all versions of gcc are subject to a class of bugs, see the
|
||||
dnl gccbug_90348 test case (only reproduces on GCC 11 and earlier) and
|
||||
dnl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111843. To work around that, set
|
||||
dnl -fstack-reuse=none for all gcc builds. (Only gcc understands this flag)
|
||||
AX_CHECK_COMPILE_FLAG([-fstack-reuse=none], [CORE_CXXFLAGS="$CORE_CXXFLAGS -fstack-reuse=none"])
|
||||
|
||||
enable_arm_crc=no
|
||||
enable_arm_shani=no
|
||||
enable_sse42=no
|
||||
|
|
@ -953,11 +959,6 @@ if test "$TARGET_OS" != "windows"; then
|
|||
AX_CHECK_COMPILE_FLAG([-fPIC], [PIC_FLAGS="-fPIC"])
|
||||
fi
|
||||
|
||||
dnl Currently all versions of gcc are subject to a class of bugs, see the
|
||||
dnl gccbug_90348 test case (only reproduces on GCC 11 and earlier) and the related bugs of
|
||||
dnl https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90348. To work around that, set
|
||||
dnl -fstack-reuse=none for all gcc builds. (Only gcc understands this flag)
|
||||
AX_CHECK_COMPILE_FLAG([-fstack-reuse=none], [HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fstack-reuse=none"])
|
||||
if test "$use_hardening" != "no"; then
|
||||
use_hardening=yes
|
||||
AX_CHECK_COMPILE_FLAG([-Wstack-protector], [HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -Wstack-protector"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue