Fix building on Haiku

This commit is contained in:
Adrien Destugues 2020-05-21 10:47:14 +02:00
parent 550e8532f8
commit 13d66b6d24

View File

@ -304,7 +304,10 @@ if $(HOST_ARCH) = m68k {
if $(HOST_PLATFORM) != darwin {
# fix for new changes to DSO linking policies
HOST_LINKFLAGS += -Xlinker --no-as-needed -Wl,--copy-dt-needed-entries ;
HOST_LINKFLAGS += -Xlinker --no-as-needed ;
if $(HOST_GCC_VERSION[1]) >= 3 {
HOST_LINKFLAGS += -Wl,--copy-dt-needed-entries ;
}
}