From 1e646c5470514e5b5f159b43d43eec442b3aec38 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 11 Jul 2013 01:53:06 +0100 Subject: 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... --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index bf991491b0..7983f5a1ce 100755 --- a/configure +++ b/configure @@ -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" -- cgit v1.2.3