Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/usermode/conf pass debug compiler parameters to mod...



details:   https://anonhg.NetBSD.org/src/rev/de0703a79dbe
branches:  trunk
changeset: 769391:de0703a79dbe
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Thu Sep 08 11:53:18 2011 +0000

description:
pass debug compiler parameters to modules built with host sdk

diffstat:

 sys/arch/usermode/conf/Makefile.usermode |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 828caf08717f -r de0703a79dbe sys/arch/usermode/conf/Makefile.usermode
--- a/sys/arch/usermode/conf/Makefile.usermode  Thu Sep 08 11:13:03 2011 +0000
+++ b/sys/arch/usermode/conf/Makefile.usermode  Thu Sep 08 11:53:18 2011 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index