Skip to content

Commit f92fce2

Browse files
committed
proc/12-arch-flags: disable -fpermissive by default
We choose to add NOPERMISSIVE instead of removing it completely, because plenty of (old) C++ projects requires this to build using newer GCC versions, such as ncurses (C++ bindings and implementation), and libstdc++ on some architectures.
1 parent a398681 commit f92fce2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proc/12-arch-flags.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
ab_arch_setflags() {
7-
local AB_FLAGS_FEATURES=(LTO PERMISSIVE)
7+
local AB_FLAGS_FEATURES=(LTO NOPERMISSIVE)
88
local AB_FLAGS_TYPES=('' _OPTI _ARCH_BASE _ARCH)
99
local flagtypes=(LDFLAGS CFLAGS CPPFLAGS CXXFLAGS OBJCFLAGS OBJCXXFLAGS RUSTFLAGS)
1010
local features=('')

0 commit comments

Comments
 (0)