BuildSetup: ld on darwin does not support --no-as-needed

Change-Id: I2f5ada95d5f8b346374aebc3a1a8114f345cb29f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8906
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
John Scipione
2025-02-04 17:27:04 +00:00
committed by waddlesplash
parent d59339ff6c
commit def8a585fa
+3 -1
View File
@@ -278,7 +278,9 @@ SetIncludePropertiesVariables HOST ;
HOST_ASFLAGS = ;
# linker flags
HOST_LINKFLAGS += -Wl,--no-as-needed ;
if $(HOST_PLATFORM) != darwin {
HOST_LINKFLAGS += -Wl,--no-as-needed ;
}
# C/C++ flags
HOST_CCFLAGS += -Wno-multichar ;