diff options
author | D G Turner | 2013-07-11 01:53:06 +0100 |
---|---|---|
committer | D G Turner | 2013-07-11 01:53:06 +0100 |
commit | 1e646c5470514e5b5f159b43d43eec442b3aec38 (patch) | |
tree | c4434180d83ee812a1c63b343c12a49a3e09b682 /configure | |
parent | e6259afc2345e82bbf1f019301b13137b67ffece (diff) | |
download | scummvm-rg350-1e646c5470514e5b5f159b43d43eec442b3aec38.tar.gz scummvm-rg350-1e646c5470514e5b5f159b43d43eec442b3aec38.tar.bz2 scummvm-rg350-1e646c5470514e5b5f159b43d43eec442b3aec38.zip |
DC: Amend tests on serial disable/enable blocks.
These now restore the original release build logic to ensure that we
don't have issues with releases. Missing something here as _debug_build
doesn't seem to work as I expected...
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2375,7 +2375,7 @@ if test -n "$_host"; then DEFINES="$DEFINES -DDISABLE_TEXT_CONSOLE" DEFINES="$DEFINES -DDISABLE_COMMAND_LINE" # Enable serial debugging output only when --enable-debug is passed - if test "$_debug_build" != yes; then + if test "$_release_build" = yes -o "$_debug_build" != yes; then DEFINES="$DEFINES -DNOSERIAL" fi _optimization_level=-O3 @@ -2708,7 +2708,7 @@ case $_backend in LDFLAGS="$LDFLAGS "'$(ronindir)/lib/crt0.o' LDFLAGS="$LDFLAGS "'-L$(ronindir)/lib' # Enable serial debugging output only when --enable-debug is passed - if test "$_debug_build" != yes; then + if test "$_release_build" = yes -o "$_debug_build" != yes; then LIBS="$LIBS -lronin-noserial -lm" else LIBS="$LIBS -lronin -lm" |