From 25fa3b1b8aabf9ad11b1487a3ce5317e4c857a4a Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Mon, 14 Nov 2016 23:46:10 +1300 Subject: [PATCH] loader: fix defines affecting elf.cpp for other platforms --- src/system/boot/loader/Jamfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/system/boot/loader/Jamfile b/src/system/boot/loader/Jamfile index d566b68b9c..b76f85493d 100644 --- a/src/system/boot/loader/Jamfile +++ b/src/system/boot/loader/Jamfile @@ -47,11 +47,7 @@ UsePrivateHeaders shared storage ; #BOOT_SUPPORT_FILE_SYSTEM_FAT ; - if $(HAIKU_BOOT_PLATFORM) != efi { - DEFINES += - BOOT_SUPPORT_ELF32 - ; - } else { + if $(HAIKU_BOOT_PLATFORM) = efi { DEFINES += _BOOT_PLATFORM_EFI ; @@ -59,6 +55,10 @@ UsePrivateHeaders shared storage ; } } + if $(HAIKU_BOOT_PLATFORM) != efi { + DEFINES += BOOT_SUPPORT_ELF32 ; + } + local kernelC++Header = [ FDirName $(HAIKU_TOP) headers private kernel util kernel_cpp.h ] ;