From f18aba2ca89422361dfac9ebc3142c077e2ee6da Mon Sep 17 00:00:00 2001 From: David Karoly Date: Thu, 2 Dec 2021 17:32:08 +0100 Subject: [PATCH] BootRules: use non-legacy ld Change-Id: I0dc6a1c8731e710a9c43b6dfa5ea08c84fa5d3a6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4759 Reviewed-by: waddlesplash --- build/jam/BootRules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/jam/BootRules b/build/jam/BootRules index c035edc076..b5c26562a4 100644 --- a/build/jam/BootRules +++ b/build/jam/BootRules @@ -172,6 +172,8 @@ rule BootMergeObject # will be added. # + TARGET_PACKAGING_ARCH on $(1) = $(TARGET_KERNEL_ARCH) ; + SetupBoot $(2) : $(3) ; Objects $(2) ; MergeObjectFromObjects $(1) : $(2:S=$(SUFOBJ)) : $(4) ; @@ -184,6 +186,8 @@ rule BootStaticLibrary # This is designed to take a set of sources and libraries and create # a file called lib.a + TARGET_PACKAGING_ARCH on $(1) = $(TARGET_KERNEL_ARCH) ; + SetupBoot $(2) : $(3) : false ; Library $(1) : $(2) ; } @@ -194,6 +198,8 @@ rule BootStaticLibraryObjects # This is designed to take a set of sources and libraries and create # a file called + TARGET_PACKAGING_ARCH on $(1) = $(TARGET_KERNEL_ARCH) ; + # Show that we depend on the libraries we need SetupBoot $(2) ; LocalClean clean : $(1) ;