Tiny gcc fix from PR #506.

This commit is contained in:
Tom van Dijck 2018-04-21 11:17:15 +02:00
parent 2dfa956d2b
commit 267e67d90f
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@
RDRND = "-mrdrnd",
},
warnings = {
Extra = "-Wall -Wextra",
Extra = {"-Wall", "-Wextra"},
High = "-Wall",
Off = "-w",
},

View File

@ -77,7 +77,7 @@
function suite.cflags_onExtraWarnings()
warnings "extra"
prepare()
test.contains({ "-Wall -Wextra" }, gcc.getcflags(cfg))
test.contains({ "-Wall", "-Wextra" }, gcc.getcflags(cfg))
end
function suite.cflags_onHighWarnings()