CONFIGURE: Add likely fix for AmigaOS4 linker relocation build failure.

This commit is contained in:
D G Turner 2014-12-09 10:51:00 +00:00
parent 0a6904c4ab
commit 68693f996d

3
configure vendored
View File

@ -2763,6 +2763,9 @@ if test -n "$_host"; then
_port_mk="backends/platform/openpandora/op-bundle.mk"
;;
ppc-amigaos)
# PPC Linker requires this to fix relocation errors
CXXFLAGS="$CXXFLAGS -mlongcall"
# Only static builds link successfully on buildbot
LDFLAGS=`echo $LDFLAGS | sed 's/-use-dynld//'`
LDFLAGS="$LDFLAGS -static"