From 32ccf45f44f0165198f449948c1fdfb4523e8d96 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Thu, 17 Apr 2014 03:04:12 +0200 Subject: [PATCH] build/jam/ArchitectureRules: Check for != 1, not = 0 --- build/jam/ArchitectureRules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index 440a0c3333..a7069432c4 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -29,7 +29,7 @@ rule ArchitectureSetup architecture # http://www.freelists.org/post/haiku-development/hrev45320-Yet-another-nonobvious-effect-of-ftreevrp-optimization if $(gccVersion[1]) >= 3 { gccBaseFlags += -fno-strict-aliasing ; - if $(HAIKU_CC_IS_CLANG_$(architecture)) = 0 { + if $(HAIKU_CC_IS_CLANG_$(architecture)) != 1 { gccBaseFlags += -fno-tree-vrp ; } } @@ -393,7 +393,7 @@ rule KernelArchitectureSetup architecture local g++BaseFlags = $(gccBaseFlags) -fno-exceptions ; - if $(gccVersion[1]) >= 3 && $(HAIKU_CC_IS_CLANG_$(architecture)) = 0 { + if $(gccVersion[1]) >= 3 && $(HAIKU_CC_IS_CLANG_$(architecture)) != 1 { g++BaseFlags += -fno-use-cxa-atexit ; }