aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJohannes Schickel2011-03-08 18:14:33 +0100
committerJohannes Schickel2011-03-08 18:16:36 +0100
commitfe89ffe80a1f2eacc9ac48f4b5961e44a07c5b81 (patch)
tree7df8c1876ae237594260ed8ea17846204b8f4216 /configure
parentfc074fef48cff8a6c8cfc93b8f31353233830de5 (diff)
downloadscummvm-rg350-fe89ffe80a1f2eacc9ac48f4b5961e44a07c5b81.tar.gz
scummvm-rg350-fe89ffe80a1f2eacc9ac48f4b5961e44a07c5b81.tar.bz2
scummvm-rg350-fe89ffe80a1f2eacc9ac48f4b5961e44a07c5b81.zip
WINCE: Add -fno-inline-functions to compiler arguments.
WinCE is using -O3 by default, which includes -finline-functions, which in turn breaks SCI. By disabling that opimization we get SCI working fine again.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index fb453d1afa..99edbe2716 100755
--- a/configure
+++ b/configure
@@ -1653,7 +1653,7 @@ case $_host_os in
fi
;;
wince)
- CXXFLAGS="$CXXFLAGS -O3 -march=armv4 -mtune=xscale"
+ CXXFLAGS="$CXXFLAGS -O3 -fno-inline-functions --march=armv4 -mtune=xscale"
DEFINES="$DEFINES -D_WIN32_WCE=300 -D__ARM__ -D_ARM_ -DUNICODE -DFPM_DEFAULT -DNONSTANDARD_PORT"
DEFINES="$DEFINES -DWIN32 -Dcdecl= -D__cdecl__="
;;