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.
This commit is contained in:
@@ -70,7 +70,6 @@ rule ArchitectureSetup architecture
|
|||||||
ccBaseFlags += -floop-interchange -ftree-loop-distribution
|
ccBaseFlags += -floop-interchange -ftree-loop-distribution
|
||||||
-floop-strip-mine -floop-block ;
|
-floop-strip-mine -floop-block ;
|
||||||
}
|
}
|
||||||
HAIKU_GCC_BASE_FLAGS_$(architecture) = $(ccBaseFlags) ;
|
|
||||||
|
|
||||||
# initial state for flags etc.
|
# initial state for flags etc.
|
||||||
HAIKU_C++_$(architecture) ?= $(HAIKU_CC_$(architecture)) ;
|
HAIKU_C++_$(architecture) ?= $(HAIKU_CC_$(architecture)) ;
|
||||||
@@ -372,8 +371,7 @@ rule KernelArchitectureSetup architecture
|
|||||||
;
|
;
|
||||||
|
|
||||||
# C/C++ flags
|
# C/C++ flags
|
||||||
local ccBaseFlags = $(HAIKU_GCC_BASE_FLAGS_$(architecture))
|
local ccBaseFlags = -finline -fno-builtin ;
|
||||||
-finline -fno-builtin ;
|
|
||||||
|
|
||||||
if $(gccVersion[1]) >= 4 {
|
if $(gccVersion[1]) >= 4 {
|
||||||
ccBaseFlags += -ffreestanding ;
|
ccBaseFlags += -ffreestanding ;
|
||||||
|
|||||||
Reference in New Issue
Block a user