Module Name: src
Committed By: martin
Date: Sun May 10 09:13:15 UTC 2015
Modified Files:
src/usr.sbin/sysinst: Makefile.inc
Log Message:
Sort DBG vs CPPFLAGS in the DEBUG case, as requested by Christos
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/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/usr.sbin/sysinst/Makefile.inc
diff -u src/usr.sbin/sysinst/Makefile.inc:1.6 src/usr.sbin/sysinst/Makefile.inc:1.7
--- src/usr.sbin/sysinst/Makefile.inc:1.6 Sat May 9 06:15:42 2015
+++ src/usr.sbin/sysinst/Makefile.inc Sun May 10 09:13:15 2015
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.6 2015/05/09 06:15:42 martin Exp $
+# $NetBSD: Makefile.inc,v 1.7 2015/05/10 09:13:15 martin Exp $
#
# Makefile for sysinst
@@ -6,10 +6,6 @@
.include "${.CURDIR}/../../../Makefile.inc"
.endif
-.if empty(DBG:M-g)
-COPTS += -Os
-.endif
-
PROG= sysinst
NOMAN= # defined
@@ -60,7 +56,12 @@ CPPFLAGS+= -I. -I${.CURDIR}/../.. -I${.C
# when compiling with -O0)
O0TRACKING= -fvar-tracking-assignments -fvar-tracking
.endif
-CPPFLAGS+=-DDEBUG -g -O0 ${O0TRACKING}
+CPPFLAGS+=-DDEBUG
+DBG +=-g -O0 ${O0TRACKING}
+.endif
+
+.if empty(DBG:M-g)
+COPTS += -Os
.endif
.if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no")