From acf8592e8220a2c121d17f04139dd70ef7e3fa99 Mon Sep 17 00:00:00 2001 From: David Karoly Date: Thu, 4 Nov 2021 17:33:18 +0100 Subject: [PATCH] build: don't use regular TARGET_*_FLAGS for .S files in bootloader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is one more change to prepare for the transition to soft-float for the ARM EFI bootloader. We need this change to remove the kernel compiler flags from .S files for the bootloader. Otherwise there would be hard-float and soft-float flags at the same time, giving a compile error. Change-Id: I0b66c3c16937228eb76351e359160187d3ab826b Reviewed-on: https://review.haiku-os.org/c/haiku/+/4690 Reviewed-by: Jérôme Duval Tested-by: Commit checker robot --- build/jam/BootRules | 1 + 1 file changed, 1 insertion(+) diff --git a/build/jam/BootRules b/build/jam/BootRules index 3755ef0d05..c035edc076 100644 --- a/build/jam/BootRules +++ b/build/jam/BootRules @@ -101,6 +101,7 @@ rule SetupBoot # override regular CCFLAGS/C++FLAGS, as we don't want them TARGET_CCFLAGS_$(TARGET_KERNEL_ARCH) on $(object) = ; TARGET_C++FLAGS_$(TARGET_KERNEL_ARCH) on $(object) = ; + TARGET_ASFLAGS_$(TARGET_KERNEL_ARCH) on $(object) = ; # override warning flags TARGET_WARNING_CCFLAGS_$(TARGET_KERNEL_ARCH) on $(object)