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 e7e18c4 commit 8bea6adCopy full SHA for 8bea6ad
acsm_compiler_flags.m4
@@ -546,6 +546,10 @@ AC_DEFUN([ACSM_SET_CXX_FLAGS],
546
],
547
548
[clang], [
549
+ dnl On Darwin with clang + gfortran, we get very many warnings for compact unwinding issues
550
+ dnl We deliberately keep relying on the less performant dwarf unwinding until the over-production of warnings is solved.
551
+ ACSM_LDFLAGS="-Wl,-keep_dwarf_unwind -Wl,-no_compact_unwind"
552
+
553
ACSM_CXXFLAGS_OPT="$ACSM_CXXFLAGS_OPT -O2 -felide-constructors -Qunused-arguments -Wunused-parameter -Wunused"
554
dnl devel flags are added on two lines since there are so many
555
ACSM_CXXFLAGS_DEVEL="$ACSM_CXXFLAGS_DEVEL -O2 -felide-constructors -g -pedantic -W -Wall -Wextra -Wno-long-long"
0 commit comments