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

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
Pipeline #566 passed with stage
in 8 minutes and 42 seconds
...@@ -82,7 +82,7 @@ MWCFLAGS += -O2 ...@@ -82,7 +82,7 @@ MWCFLAGS += -O2
# This requires optimisation so add it here instead of CCSEC # This requires optimisation so add it here instead of CCSEC
MWCFLAGS += -D_FORTIFY_SOURCE=2 MWCFLAGS += -D_FORTIFY_SOURCE=2
else else
MWCFLAGS += -O0 -Werror MWCFLAGS += -O0 -Werror -Wno-error=suggest-attribute=format
endif endif
# Let the user add some flags at the end # Let the user add some flags at the end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment