[Scummvm-cvs-logs] scummvm master -> e6259afc2345e82bbf1f019301b13137b67ffece
digitall
dgturner at iee.org
Wed Jul 10 06:02:55 CEST 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e6259afc23 DC: Only enable serial debug output when --enable-debug is passed.
Commit: e6259afc2345e82bbf1f019301b13137b67ffece
https://github.com/scummvm/scummvm/commit/e6259afc2345e82bbf1f019301b13137b67ffece
Author: D G Turner (digitall at scummvm.org)
Date: 2013-07-09T21:00:25-07:00
Commit Message:
DC: Only enable serial debug output when --enable-debug is passed.
After this change, release builds will still have serial debug disabled,
but debug builds will now not provide this unless --enable-debug is
passed explicitly. This could have been another option or environment
variable, but other embedded ports do similar things with _debug_build
and this looks like the cleanest way to deal with this.
Changed paths:
configure
diff --git a/configure b/configure
index 9fa698a..bf99149 100755
--- a/configure
+++ b/configure
@@ -2374,7 +2374,8 @@ if test -n "$_host"; then
DEFINES="$DEFINES -DDISABLE_DEFAULT_SAVEFILEMANAGER"
DEFINES="$DEFINES -DDISABLE_TEXT_CONSOLE"
DEFINES="$DEFINES -DDISABLE_COMMAND_LINE"
- if test "$_release_build" = yes; then
+ # Enable serial debugging output only when --enable-debug is passed
+ if test "$_debug_build" != yes; then
DEFINES="$DEFINES -DNOSERIAL"
fi
_optimization_level=-O3
@@ -2706,7 +2707,8 @@ case $_backend in
LDFLAGS="$LDFLAGS -nostartfiles"
LDFLAGS="$LDFLAGS "'$(ronindir)/lib/crt0.o'
LDFLAGS="$LDFLAGS "'-L$(ronindir)/lib'
- if test "$_release_build" = yes; then
+ # Enable serial debugging output only when --enable-debug is passed
+ if test "$_debug_build" != yes; then
LIBS="$LIBS -lronin-noserial -lm"
else
LIBS="$LIBS -lronin -lm"
More information about the Scummvm-git-logs
mailing list