summaryrefslogtreecommitdiff
path: root/cad/ng-spice/patches/patch-ad
blob: d3f00df8f66c8d8a140d63abc8d83a27aeb3805d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.3 2002/04/04 01:24:58 dmcmahill Exp $

only remove -g not all CFLAGS!!

--- configure.orig	Wed Apr  3 03:26:44 2002
+++ configure	Wed Apr  3 09:29:20 2002
@@ -1311,5 +1311,5 @@
 if test "$enable_debug" = "no"; then
 	echo "configure: warning: Removing debugging option!" 1>&2
-	CFLAGS=" "
+	CFLAGS="`echo $CFLAGS | sed 's;-g;;g'`"
 fi