In jam, unset variables aren't equal to 0

Make our Werror check work again with gcc.
This commit is contained in:
Adrien Destugues 2014-04-15 09:15:53 +02:00
parent 3eff063958
commit 840839b546
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ rule ArchitectureSetupWarnings architecture
rule EnableWerror dirTokens : scope {
# Clang gives way more warnings than GCC, so that code won't compile
# -Werror when using Clang.
if $(HAIKU_CC_IS_CLANG_$(architecture)) = 0 {
if $(HAIKU_CC_IS_CLANG_$(architecture)) != 1 {
SetConfigVar WARNINGS : HAIKU_TOP $(dirTokens) : treatAsErrors
: $(scope) ;
}