From 68693f996dc9b66ecbdfda9c38e07765ba0a70df Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 9 Dec 2014 10:51:00 +0000 Subject: [PATCH] CONFIGURE: Add likely fix for AmigaOS4 linker relocation build failure. --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index ebca8322dc0..eba1ebcb32a 100755 --- a/configure +++ b/configure @@ -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"