$OpenBSD: patch-configure,v 1.3 2011/11/02 19:21:36 jasper Exp $ From 1ec48efc03df9368a59f501dfd1de9c9b15f016c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 23 Sep 2011 06:08:06 +0000 Subject: fix #659548 - stop CFLAGS getting unconditionally overwritten --- configure.orig Wed Nov 2 20:19:21 2011 +++ configure Wed Nov 2 20:19:24 2011 @@ -15232,10 +15232,10 @@ fi if test "x$enable_debug" = "xyes"; then SEED_DEBUG_CFLAGS="-DSEED_ENABLE_DEBUG -g" - CFLAGS="-O0 -Wall" + CFLAGS="$CFLAGS -O0 -Wall" else SEED_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS" - CFLAGS="-Wall" + CFLAGS="$CFLAGS -Wall" if test "x$need_debug" = "xyes"; then as_fn_error $? "debug must be enabled in order to enable profiling." "$LINENO" 5