Add Wno-error=sign-compare for gcc to Compiler.

This commit is contained in:
Kyle Sanderson 2015-02-21 20:25:39 -08:00
parent 284fab7254
commit 3386a3af80

View File

@ -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']