dmake: suppress Wsign-compare warnings in release builds
This commit is contained in:
parent
f540484d38
commit
42e82eda96
|
@ -312,7 +312,7 @@ int main(int argc, char **argv)
|
|||
|
||||
// Makefile settings..
|
||||
if (release) {
|
||||
makeConditionalVariable(fout, "CXXFLAGS", "-O2 -include lib/cxx11emu.h -DNDEBUG -Wall");
|
||||
makeConditionalVariable(fout, "CXXFLAGS", "-O2 -include lib/cxx11emu.h -DNDEBUG -Wall -Wno-sign-compare");
|
||||
} else {
|
||||
// TODO: add more compiler warnings.
|
||||
// -Wlogical-op : doesn't work on older GCC
|
||||
|
|
Loading…
Reference in New Issue