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

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 10 Oct 2020 16:27:16 -0400 (EDT)

hrev54628 adds 2 changesets to branch 'master'
old head: b7fd72cdbb96f858519f3a9f8de8e5867aec8435
new head: fb0391c28b8b6192ef63cd751c582bc1915f23e9
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=fb0391c28b8b+%5Eb7fd72cdbb96

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

af07b876adff: HelperRules: Fix typo in the new CC_IS_LEGACY_GCC test.

fb0391c28b8b: ArchitectureRules: Fix typo in CC_IS_CLANG test.

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

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

2 files changed, 2 insertions(+), 2 deletions(-)
build/jam/ArchitectureRules | 2 +-
build/jam/HelperRules       | 2 +-

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

Commit:      af07b876adffcc67b544a51118da3b774f88fb97
URL:         https://git.haiku-os.org/haiku/commit/?id=af07b876adff
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Sat Oct 10 20:24:43 2020 UTC

HelperRules: Fix typo in the new CC_IS_LEGACY_GCC test.

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

diff --git a/build/jam/HelperRules b/build/jam/HelperRules
index 1dcdfbf5b2..7772fb7dac 100644
--- a/build/jam/HelperRules
+++ b/build/jam/HelperRules
@@ -213,7 +213,7 @@ rule SetIncludePropertiesVariables prefix : suffix
        # SetIncludePropertiesVariables <prefix> : <suffix> ;
        #
        suffix = $(suffix:E=) ;
-       if $($(prefix)_CC_IS_LEGACY_GCC$(suffix)) {
+       if $($(prefix)_CC_IS_LEGACY_GCC$(suffix)) = 1 {
                $(prefix)_INCLUDES_SEPARATOR$(suffix) = -I- ;
                $(prefix)_LOCAL_INCLUDES_OPTION$(suffix) = -I ;
                $(prefix)_SYSTEM_INCLUDES_OPTION$(suffix) = -I ;

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

Revision:    hrev54628
Commit:      fb0391c28b8b6192ef63cd751c582bc1915f23e9
URL:         https://git.haiku-os.org/haiku/commit/?id=fb0391c28b8b
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Sat Oct 10 20:26:41 2020 UTC

ArchitectureRules: Fix typo in CC_IS_CLANG test.

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

diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules
index e74c6cddae..dd7a28e8db 100644
--- a/build/jam/ArchitectureRules
+++ b/build/jam/ArchitectureRules
@@ -347,7 +347,7 @@ rule KernelArchitectureSetup architecture
        local ccBaseFlags = -finline -fno-builtin ;
 
        if $(HAIKU_CC_IS_LEGACY_GCC_$(architecture)) != 1 {
-               if ! $(HAIKU_CC_IS_CLANG_$(architecture)) {
+               if $(HAIKU_CC_IS_CLANG_$(architecture)) != 1 {
                        # Clang does not yet understand this flag.
                        ccBaseFlags += -fno-semantic-interposition ;
                }


Other related posts:

  • » [haiku-commits] haiku: hrev54628 - build/jam - waddlesplash