diff options
author | Max Horn | 2011-06-01 18:17:01 +0200 |
---|---|---|
committer | Max Horn | 2011-06-01 18:17:01 +0200 |
commit | b0a460e849fbad76e973fce57efd3d15a419e0f5 (patch) | |
tree | 994fbd5340044f6d72ddb8cdcb730fd3abc8294c | |
parent | 007a33515f532bea20f13ed07c1c5340c58046ba (diff) | |
download | scummvm-rg350-b0a460e849fbad76e973fce57efd3d15a419e0f5.tar.gz scummvm-rg350-b0a460e849fbad76e973fce57efd3d15a419e0f5.tar.bz2 scummvm-rg350-b0a460e849fbad76e973fce57efd3d15a419e0f5.zip |
DC: Use 'noserial' for release builds
-rwxr-xr-x | configure | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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" |