aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorD G Turner2014-12-09 10:51:00 +0000
committerD G Turner2014-12-09 10:51:00 +0000
commit68693f996dc9b66ecbdfda9c38e07765ba0a70df (patch)
tree0323e5ae7153a05f87a355d16a54188370e8726a /configure
parent0a6904c4abc242125532fb797290820834cbb2cf (diff)
downloadscummvm-rg350-68693f996dc9b66ecbdfda9c38e07765ba0a70df.tar.gz
scummvm-rg350-68693f996dc9b66ecbdfda9c38e07765ba0a70df.tar.bz2
scummvm-rg350-68693f996dc9b66ecbdfda9c38e07765ba0a70df.zip
CONFIGURE: Add likely fix for AmigaOS4 linker relocation build failure.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index ebca8322dc..eba1ebcb32 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"