aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2011-06-01 18:17:01 +0200
committerMax Horn2011-06-01 18:17:01 +0200
commitb0a460e849fbad76e973fce57efd3d15a419e0f5 (patch)
tree994fbd5340044f6d72ddb8cdcb730fd3abc8294c
parent007a33515f532bea20f13ed07c1c5340c58046ba (diff)
downloadscummvm-rg350-b0a460e849fbad76e973fce57efd3d15a419e0f5.tar.gz
scummvm-rg350-b0a460e849fbad76e973fce57efd3d15a419e0f5.tar.bz2
scummvm-rg350-b0a460e849fbad76e973fce57efd3d15a419e0f5.zip
DC: Use 'noserial' for release builds
-rwxr-xr-xconfigure11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure b/configure
index 5d371c0679..9bb1e113e0 100755
--- a/configure
+++ b/configure
@@ -1945,8 +1945,9 @@ if test -n "$_host"; then
DEFINES="$DEFINES -DDISABLE_DEFAULT_SAVEFILEMANAGER"
DEFINES="$DEFINES -DDISABLE_TEXT_CONSOLE"
DEFINES="$DEFINES -DDISABLE_COMMAND_LINE"
- # for release builds:
- #DEFINES="$DEFINES -DNOSERIAL"
+ if test "$_release_build" = yes; then
+ DEFINES="$DEFINES -DNOSERIAL"
+ fi
CXXFLAGS="$CXXFLAGS -O3"
CXXFLAGS="$CXXFLAGS -funroll-loops"
CXXFLAGS="$CXXFLAGS -fschedule-insns2"
@@ -2233,7 +2234,11 @@ case $_backend in
LDFLAGS="$LDFLAGS -nostartfiles"
LDFLAGS="$LDFLAGS "'$(ronindir)/lib/crt0.o'
LDFLAGS="$LDFLAGS "'-L$(ronindir)/lib'
- LIBS="$LIBS -lronin -lm"
+ if test "$_release_build" = yes; then
+ LIBS="$LIBS -lronin-noserial -lm"
+ else
+ LIBS="$LIBS -lronin -lm"
+ fi
;;
dingux)
DEFINES="$DEFINES -DDINGUX"