From 840839b546f4d2900fd550b9491c4a47842ff7c4 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 15 Apr 2014 09:15:53 +0200 Subject: [PATCH] In jam, unset variables aren't equal to 0 Make our Werror check work again with gcc. --- build/jam/ArchitectureRules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index 7a0cd9a273..346b90127b 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -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) ; }