dmake: suppress Wsign-compare warnings in release builds

This commit is contained in:
Daniel Marjamäki 2015-05-02 10:29:52 +02:00
parent f540484d38
commit 42e82eda96
1 changed files with 1 additions and 1 deletions

View File

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