From b0a460e849fbad76e973fce57efd3d15a419e0f5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 1 Jun 2011 18:17:01 +0200 Subject: DC: Use 'noserial' for release builds --- configure | 11 ++++++++--- 1 file 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" -- cgit v1.2.3