Module Name: src
Committed By: jmcneill
Date: Thu Sep 8 11:53:19 UTC 2011
Modified Files:
src/sys/arch/usermode/conf: Makefile.usermode
Log Message:
pass debug compiler parameters to modules built with host sdk
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/usermode/conf/Makefile.usermode
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/usermode/conf/Makefile.usermode
diff -u src/sys/arch/usermode/conf/Makefile.usermode:1.19 src/sys/arch/usermode/conf/Makefile.usermode:1.20
--- src/sys/arch/usermode/conf/Makefile.usermode:1.19 Sat Sep 3 19:06:48 2011
+++ src/sys/arch/usermode/conf/Makefile.usermode Thu Sep 8 11:53:18 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.usermode,v 1.19 2011/09/03 19:06:48 jmcneill Exp $
+# $NetBSD: Makefile.usermode,v 1.20 2011/09/08 11:53:18 jmcneill Exp $
OPT_CPU_HOST= %CPU_HOST%
.if !empty(OPT_CPU_HOST)
@@ -22,7 +22,7 @@
USERMODE_HOSTOS!=uname -s
USERMODE_HOSTMACHINE!=uname -m
USERMODE_LIBS= -lrt
-USERMODE_CPPFLAGS=-U_KERNEL -I/usr/include
+USERMODE_CPPFLAGS=${DEBUG} -U_KERNEL -I/usr/include
USERMODE_CPPFLAGS+=${CWARNFLAGS} ${NOGCCERROR:D:U-Werror}
.if ${USERMODE_HOSTOS} == "Linux"