Patch by Andreas Färber: Fix mixup of GNU and Sun linker on OpenSolaris.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34726 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-12-20 16:46:27 +00:00
parent 1e9ba7f26c
commit 1b6f98637b

View File

@ -516,6 +516,12 @@ if $(HOST_PLATFORM) = linux || $(HOST_PLATFORM) = freebsd
}
}
# TODO: Temporary work-around for mixup of GNU and Sun linker on OpenSolaris.
# Should be moved to configure.
if $(HOST_PLATFORM) = sunos && $(HOST_LD) = ld {
HOST_LD = /usr/ccs/bin/ld ;
}
if $(HOST_PLATFORM) = cygwin {
HOST_LINKFLAGS += -Xlinker --allow-multiple-definition -Xlinker
--enable-auto-import ;