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:
committed by
waddlesplash
parent
d59339ff6c
commit
def8a585fa
@@ -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 ;
|
||||
|
||||
Reference in New Issue
Block a user