Module Name:    src
Committed By:   martin
Date:           Wed Jan 13 07:52:38 UTC 2010

Modified Files:
        src/distrib/utils/sysinst: Makefile.inc

Log Message:
Avoid adding -Os to CFLAGS if DBG is set and contains -g.
This helps gdb a lot when compiling local debug versions of sysinst.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/distrib/utils/sysinst/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/utils/sysinst/Makefile.inc
diff -u src/distrib/utils/sysinst/Makefile.inc:1.49 src/distrib/utils/sysinst/Makefile.inc:1.50
--- src/distrib/utils/sysinst/Makefile.inc:1.49	Sat Jan  2 21:16:46 2010
+++ src/distrib/utils/sysinst/Makefile.inc	Wed Jan 13 07:52:38 2010
@@ -1,8 +1,10 @@
-#	$NetBSD: Makefile.inc,v 1.49 2010/01/02 21:16:46 dsl Exp $
+#	$NetBSD: Makefile.inc,v 1.50 2010/01/13 07:52:38 martin Exp $
 #
 # Makefile for sysinst
 
+.if empty(DBG:M-g)
 COPTS += -Os
+.endif
 
 PROG=		sysinst
 NOMAN=		# defined

Reply via email to