aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorD G Turner2014-01-10 21:41:15 +0000
committerD G Turner2014-01-10 21:41:15 +0000
commite3502c8f53f8cce7546134b1697f04211fc67b50 (patch)
tree93ef637131e6b333a65e4eb15aca2f24af060050 /configure
parentac41b918c4e774e4c0ba1afa2f7308c316269111 (diff)
downloadscummvm-rg350-e3502c8f53f8cce7546134b1697f04211fc67b50.tar.gz
scummvm-rg350-e3502c8f53f8cce7546134b1697f04211fc67b50.tar.bz2
scummvm-rg350-e3502c8f53f8cce7546134b1697f04211fc67b50.zip
CONFIGURE: Add workaround for GCC bug in Dreamcast toolchain.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index e954ad9417..117d44e48e 100755
--- a/configure
+++ b/configure
@@ -2423,6 +2423,8 @@ if test -n "$_host"; then
CXXFLAGS="$CXXFLAGS -fschedule-insns2"
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer"
CXXFLAGS="$CXXFLAGS -fdelete-null-pointer-checks"
+ # no-delayed-branch is a workaround for GCC bug #42841 - "SH: Assembler complains pcrel too far."
+ CXXFLAGS="$CXXFLAGS -fno-delayed-branch"
_backend="dc"
_build_scalers=no
_mad=yes