mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
removed pedantic-errors on macosx
This commit is contained in:
parent
1c45aa51f8
commit
ff19d4e077
|
@ -188,7 +188,11 @@ function build(settings)
|
|||
if family == "windows" then
|
||||
engine_settings.cc.flags = "/wd4244"
|
||||
else
|
||||
engine_settings.cc.flags = "-Wall -pedantic-errors"
|
||||
if platform == "macosx" then
|
||||
engine_settings.cc.flags = "-Wall"
|
||||
else
|
||||
engine_settings.cc.flags = "-Wall -pedantic-errors"
|
||||
end
|
||||
engine_settings.linker.flags = ""
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue