Skip to content

Commit

Permalink
Tiny gcc fix from PR premake#506.
Browse files Browse the repository at this point in the history
  • Loading branch information
tvandijck committed Apr 21, 2018
1 parent 2dfa956 commit 267e67d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tools/gcc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
RDRND = "-mrdrnd",
},
warnings = {
Extra = "-Wall -Wextra",
Extra = {"-Wall", "-Wextra"},
High = "-Wall",
Off = "-w",
},
Expand Down
2 changes: 1 addition & 1 deletion tests/tools/test_gcc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 267e67d

Please sign in to comment.