From b54ed691ed53b1c26d3117df013d8f9b352da5e2 Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Wed, 21 Nov 2018 23:52:35 -0500 Subject: [PATCH] ArchitectureRules: Remove duplicate GCC_BASE_FLAGS. We append the full CC_FLAGS in KernelArchitectureSetup, so these are redundant and not used anywhere else, so scrap them completely. --- build/jam/ArchitectureRules | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index 37d7baeff6..24da31e225 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -70,7 +70,6 @@ rule ArchitectureSetup architecture ccBaseFlags += -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block ; } - HAIKU_GCC_BASE_FLAGS_$(architecture) = $(ccBaseFlags) ; # initial state for flags etc. HAIKU_C++_$(architecture) ?= $(HAIKU_CC_$(architecture)) ; @@ -372,8 +371,7 @@ rule KernelArchitectureSetup architecture ; # C/C++ flags - local ccBaseFlags = $(HAIKU_GCC_BASE_FLAGS_$(architecture)) - -finline -fno-builtin ; + local ccBaseFlags = -finline -fno-builtin ; if $(gccVersion[1]) >= 4 { ccBaseFlags += -ffreestanding ;