Use the TARGET_* variable instead of the HAIKU_* one.
HAIKU_* variables are copied to TARGET_*, making it possible to also build for other targets (libbe_build, or BeOS R5 when we still allowed that). Thanks to Ingo for explaining how this is meant to work.
This commit is contained in:
@@ -197,7 +197,7 @@ rule As
|
|||||||
systemIncludesOption = $(HOST_SYSTEM_INCLUDES_OPTION) ;
|
systemIncludesOption = $(HOST_SYSTEM_INCLUDES_OPTION) ;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
flags = [ on $(1) return $(HAIKU_ASFLAGS_$(TARGET_PACKAGING_ARCH))
|
flags = [ on $(1) return $(TARGET_ASFLAGS_$(TARGET_PACKAGING_ARCH))
|
||||||
$(ASFLAGS) ] ;
|
$(ASFLAGS) ] ;
|
||||||
|
|
||||||
CC on $(1) = $(TARGET_CC_$(TARGET_PACKAGING_ARCH)) ;
|
CC on $(1) = $(TARGET_CC_$(TARGET_PACKAGING_ARCH)) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user