From 4630d331bf9eb80e0f1c09cecfb9a0698b188a30 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sat, 14 Feb 2009 21:45:40 +0000 Subject: + fixed debug-vs-optimization buglet in ax_pd_external.m4 svn path=/trunk/externals/moocow/; revision=10777 --- deque/configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deque/configure') diff --git a/deque/configure b/deque/configure index 2e20a07..eb8e3d8 100755 --- a/deque/configure +++ b/deque/configure @@ -3729,7 +3729,7 @@ echo "$as_me: WARNING: Unknown kernel type \"$uname_s\" defaults to \"Linux\"" > if test "$ENABLE_DEBUG" = "no" -a -z "$UCFLAGS"; then ##-- only set OFLAGS if user CFLAGS are empty PDEXT_OFLAGS="-O2 -pipe" - else + elif test "$ENABLE_DEBUG" = "yes"; then PDEXT_OFLAGS="-g" fi PDEXT_OFLAGS="$PDEXT_OFLAGS -fPIC" @@ -3746,7 +3746,7 @@ echo "$as_me: WARNING: Unknown kernel type \"$uname_s\" defaults to \"Linux\"" > if test "$ENABLE_DEBUG" = "no" -a -z "$UCFLAGS"; then ##-- only set OFLAGS if user CFLAGS are empty PDEXT_OFLAGS="-O2" - else + elif test "$ENABLE_DEBUG" = "yes"; then PDEXT_OFLAGS="-g" fi PDEXT=pd_darwin @@ -3786,7 +3786,7 @@ echo "$as_me: will use pd extension \".$PDEXT\" for pd externals" >&6;} ##-- add defaults to user flags CPPFLAGS="$UCPPFLAGS $PDEXT_IFLAGS $PDEXT_DFLAGS" - CFLAGS="$UCFLAGS $PDEXT_FLAGS $PDEXT_AFLAGS $PDEXT_WFLAGS" + CFLAGS="$UCFLAGS $PDEXT_OFLAGS $PDEXT_AFLAGS $PDEXT_WFLAGS" LDFLAGS="$ULDFLAGS $PDEXT_LFLAGS" ## END platform-dependent variables -- cgit v1.2.1