ArchitectureRules: Append Clang flags before potential early-exit.
Gets the Clang-ARM build a bit further into libroot.
This commit is contained in:
@@ -460,6 +460,12 @@ rule ArchitectureSetupWarnings architecture
|
|||||||
# Sets up compiler warnings and error flags for various subdirectories for
|
# Sets up compiler warnings and error flags for various subdirectories for
|
||||||
# the given packaging architecture.
|
# 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)) ;
|
local cpu = $(HAIKU_CPU_$(architecture)) ;
|
||||||
switch $(cpu) {
|
switch $(cpu) {
|
||||||
case arm :
|
case arm :
|
||||||
@@ -494,12 +500,6 @@ rule ArchitectureSetupWarnings architecture
|
|||||||
WARNINGS on $(file) = $(WARNINGS) ;
|
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 accelerants ;
|
||||||
EnableWerror src add-ons bluetooth ;
|
EnableWerror src add-ons bluetooth ;
|
||||||
EnableWerror src add-ons decorators ;
|
EnableWerror src add-ons decorators ;
|
||||||
|
|||||||
Reference in New Issue
Block a user