[haiku-commits] Change in haiku[master]: efi: Don't skip TargetBootLibgcc, we need it for 32-bit fp math

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 26 Feb 2020 16:13:40 +0000

From Alex von Gluck IV <kallisti5@xxxxxxxxxxx>:

Alex von Gluck IV has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/2282 ;)


Change subject: efi: Don't skip TargetBootLibgcc, we need it for 32-bit fp math
......................................................................

efi: Don't skip TargetBootLibgcc, we need it for 32-bit fp math

Change-Id: I23db3cbb57fea1f9346db9477f72bcc164794926
---
M build/jam/BootRules
1 file changed, 6 insertions(+), 8 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/82/2282/1

diff --git a/build/jam/BootRules b/build/jam/BootRules
index 6095e9d..61761cf 100644
--- a/build/jam/BootRules
+++ b/build/jam/BootRules
@@ -125,15 +125,13 @@

        # Remove any preset LINKLIBS, but link against libgcc.a. Linking against
        # libsupc++ is opt-out.
-       if $(TARGET_BOOT_PLATFORM) != efi {
-               local libs ;
-               if ! [ on $(1) return $(HAIKU_NO_LIBSUPC++) ] {
-                       libs += [ TargetBootLibsupc++ true ] ;
-                       Depends $(1) : [ TargetBootLibsupc++ ] ;
-               }
-               LINKLIBS on $(1) = $(libs) [ TargetBootLibgcc true ] ;
-               Depends $(1) : [ TargetBootLibgcc ] ;
+       local libs ;
+       if ! [ on $(1) return $(HAIKU_NO_LIBSUPC++) ] {
+               libs += [ TargetBootLibsupc++ true ] ;
+               Depends $(1) : [ TargetBootLibsupc++ ] ;
        }
+       LINKLIBS on $(1) = $(libs) [ TargetBootLibgcc true ] ;
+       Depends $(1) : [ TargetBootLibgcc ] ;

        # TODO: Do we really want to invoke SetupBoot here? The objects should
        # have been compiled with BootObjects anyway, so we're doing that twice.

--
To view, visit https://review.haiku-os.org/c/haiku/+/2282
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I23db3cbb57fea1f9346db9477f72bcc164794926
Gerrit-Change-Number: 2282
Gerrit-PatchSet: 1
Gerrit-Owner: Alex von Gluck IV <kallisti5@xxxxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: efi: Don't skip TargetBootLibgcc, we need it for 32-bit fp math - Gerrit