Commit 0d9c3750 authored by Andrew Price's avatar Andrew Price
Browse files

Use -Wno-error=suggest-attribute=format when using -Werror

Works around build failures on Debian due to a spurious 'warning' similar to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28492
parent 198a83a2
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ MWCFLAGS += -O2
# This requires optimisation so add it here instead of CCSEC
MWCFLAGS += -D_FORTIFY_SOURCE=2
else
MWCFLAGS += -O0 -Werror
MWCFLAGS += -O0 -Werror -Wno-error=suggest-attribute=format
endif

# Let the user add some flags at the end