[haiku-commits] haiku: hrev47509 - build/jam

  • From: js-haiku-commits@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 17 Jul 2014 01:25:46 +0200 (CEST)

hrev47509 adds 2 changesets to branch 'master'
old head: d0c1fd8a17b76b722c3ddb5daa6dda0b3a4e9d92
new head: 8f9b4f71c58c7a4f1c64513df7f8850e92c715d7
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=8f9b4f7+%5Ed0c1fd8

----------------------------------------------------------------------------

32ccf45: build/jam/ArchitectureRules: Check for != 1, not = 0

8f9b4f7: Fix comment

                                     [ Jonathan Schleifer <js@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

1 file changed, 3 insertions(+), 3 deletions(-)
build/jam/ArchitectureRules | 6 +++---

############################################################################

Commit:      32ccf45f44f0165198f449948c1fdfb4523e8d96
URL:         http://cgit.haiku-os.org/haiku/commit/?id=32ccf45
Author:      Jonathan Schleifer <js@xxxxxxxxxxx>
Date:        Thu Apr 17 01:04:12 2014 UTC

build/jam/ArchitectureRules: Check for != 1, not = 0

----------------------------------------------------------------------------

diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules
index 440a0c3..a706943 100644
--- a/build/jam/ArchitectureRules
+++ b/build/jam/ArchitectureRules
@@ -29,7 +29,7 @@ rule ArchitectureSetup architecture
        # 
//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 ;
        }
 

############################################################################

Revision:    hrev47509
Commit:      8f9b4f71c58c7a4f1c64513df7f8850e92c715d7
URL:         http://cgit.haiku-os.org/haiku/commit/?id=8f9b4f7
Author:      Jonathan Schleifer <js@xxxxxxxxxxx>
Date:        Wed Jul 16 23:25:27 2014 UTC

Fix comment

----------------------------------------------------------------------------

diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules
index a706943..629d45f 100644
--- a/build/jam/ArchitectureRules
+++ b/build/jam/ArchitectureRules
@@ -501,7 +501,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.
+               # with -Werror when using Clang.
                if $(HAIKU_CC_IS_CLANG_$(architecture)) != 1 {
                        SetConfigVar WARNINGS : HAIKU_TOP $(dirTokens) : 
treatAsErrors
                                : $(scope) ;


Other related posts:

  • » [haiku-commits] haiku: hrev47509 - build/jam - js-haiku-commits