Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst Do not -DCATALOG_DIR for DEBUG builds to al...
details: https://anonhg.NetBSD.org/src/rev/ba790e17873f
branches: trunk
changeset: 338292:ba790e17873f
user: martin <martin%NetBSD.org@localhost>
date: Sun May 17 10:22:20 2015 +0000
description:
Do not -DCATALOG_DIR for DEBUG builds to allow easy (local) testin of
translations.
diffstat:
usr.sbin/sysinst/Makefile.inc | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 16c36d31ced2 -r ba790e17873f usr.sbin/sysinst/Makefile.inc
--- a/usr.sbin/sysinst/Makefile.inc Sun May 17 10:13:24 2015 +0000
+++ b/usr.sbin/sysinst/Makefile.inc Sun May 17 10:22:20 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.7 2015/05/10 09:13:15 martin Exp $
+# $NetBSD: Makefile.inc,v 1.8 2015/05/17 10:22:20 martin Exp $
#
# Makefile for sysinst
@@ -47,8 +47,11 @@
CPPFLAGS+= -I. -I${.CURDIR}/../.. -I${.CURDIR} \
-DREL=\"${DISTRIBVER}\" -DMACH=\"${MACHINE}\" \
-DMACH_${MACHINE} -DARCH_${MACHINE_ARCH} \
- ${NODISKLABEL:D-DNO_DISKLABEL} \
- -DCATALOG_DIR=\"${CATALOGDIR}\"
+ ${NODISKLABEL:D-DNO_DISKLABEL}
+
+.if !defined(DEBUG)
+CPPFLAGS+= -DCATALOG_DIR=\"${CATALOGDIR}\"
+.endif
.if (defined(DEBUG))
.if ${ACTIVE_CC} == "gcc"
Home |
Main Index |
Thread Index |
Old Index