Changeset: 8720a0f48058 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8720a0f48058
Modified Files:
        configure.ag
Branch: default
Log Message:

configure: don't omit frame pointer with --enable-assert

Because of stack traces (that Niels implemented), when enabling assert,
it is useful to have the frame pointer.  Hence, don't omit it if assert
is enabled.


diffs (14 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -1153,6 +1153,10 @@
       esac   
       ;;
     esac
+       # for stack-traces with assert, we DO want a frame-pointer
+       if test "x$enable_assert" = xyes ; then
+               CFLAGS="`echo $CFLAGS | sed 's:-fomit-frame-pointer::'`"
+       fi
        changedCFLAGS=
        for flag in $origCFLAGS ; do
                case " $CFLAGS " in
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to