Cleanup: Fix missing evaluation of HAIKU_NO_LIBSUPC++.
* There's no user of HAIKU_NO_LIBSUPC++ anywhere, so the typo didn't have any effect.
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ rule BootLd
|
|||||||
# Remove any preset LINKLIBS, but link against libgcc.a. Linking against
|
# Remove any preset LINKLIBS, but link against libgcc.a. Linking against
|
||||||
# libsupc++ is opt-out.
|
# libsupc++ is opt-out.
|
||||||
local libs ;
|
local libs ;
|
||||||
if ! [ on $(1) return HAIKU_NO_LIBSUPC++ ] {
|
if ! [ on $(1) return $(HAIKU_NO_LIBSUPC++) ] {
|
||||||
libs += $(TARGET_BOOT_LIBSUPC++) ;
|
libs += $(TARGET_BOOT_LIBSUPC++) ;
|
||||||
}
|
}
|
||||||
LINKLIBS on $(1) = $(libs) $(TARGET_BOOT_LIBGCC) ;
|
LINKLIBS on $(1) = $(libs) $(TARGET_BOOT_LIBGCC) ;
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ rule KernelLd
|
|||||||
# Remove any preset LINKLIBS, but link against libgcc.a. Linking against
|
# Remove any preset LINKLIBS, but link against libgcc.a. Linking against
|
||||||
# libsupc++ is opt-out.
|
# libsupc++ is opt-out.
|
||||||
local libs ;
|
local libs ;
|
||||||
if ! [ on $(1) return HAIKU_NO_LIBSUPC++ ] {
|
if ! [ on $(1) return $(HAIKU_NO_LIBSUPC++) ] {
|
||||||
libs += $(TARGET_KERNEL_LIBSUPC++) ;
|
libs += $(TARGET_KERNEL_LIBSUPC++) ;
|
||||||
}
|
}
|
||||||
LINKLIBS on $(1) = $(libs) $(TARGET_KERNEL_LIBGCC) ;
|
LINKLIBS on $(1) = $(libs) $(TARGET_KERNEL_LIBGCC) ;
|
||||||
|
|||||||
Reference in New Issue
Block a user