Add Wno-error=sign-compare for gcc to Compiler.
This commit is contained in:
parent
284fab7254
commit
3386a3af80
@ -53,6 +53,7 @@ compiler.sourcedeps += packed_includes
|
||||
|
||||
if compiler.cc.behavior == 'gcc':
|
||||
compiler.cflags += ['-Wno-format']
|
||||
compiler.cflags += ['-Wno-error=sign-compare']
|
||||
compiler.c_only_flags += ['-std=c99']
|
||||
if builder.target_platform == 'linux':
|
||||
compiler.postlink += ['-lm']
|
||||
|
Loading…
Reference in New Issue
Block a user