ArchitectureRules: Append Clang flags before potential early-exit.
Gets the Clang-ARM build a bit further into libroot.
This commit is contained in:
parent
376472a816
commit
d0bfb2c044
@ -460,6 +460,12 @@ rule ArchitectureSetupWarnings architecture
|
||||
# Sets up compiler warnings and error flags for various subdirectories for
|
||||
# the given packaging architecture.
|
||||
|
||||
if $(HAIKU_CC_IS_CLANG_$(architecture)) = 1 {
|
||||
AppendToConfigVar CCFLAGS :
|
||||
HAIKU_TOP src system libroot posix glibc :
|
||||
-fgnu89-inline -fheinous-gnu-extensions : global ;
|
||||
}
|
||||
|
||||
local cpu = $(HAIKU_CPU_$(architecture)) ;
|
||||
switch $(cpu) {
|
||||
case arm :
|
||||
@ -494,12 +500,6 @@ rule ArchitectureSetupWarnings architecture
|
||||
WARNINGS on $(file) = $(WARNINGS) ;
|
||||
}
|
||||
|
||||
if $(HAIKU_CC_IS_CLANG_$(architecture)) = 1 {
|
||||
AppendToConfigVar CCFLAGS :
|
||||
HAIKU_TOP src system libroot posix glibc :
|
||||
-fgnu89-inline -fheinous-gnu-extensions : global ;
|
||||
}
|
||||
|
||||
EnableWerror src add-ons accelerants ;
|
||||
EnableWerror src add-ons bluetooth ;
|
||||
EnableWerror src add-ons decorators ;
|
||||
|
Loading…
Reference in New Issue
Block a user