Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump Always define __NetBSD__ (for builds on non-NetBSD)
details: https://anonhg.NetBSD.org/src/rev/1890ee312a9f
branches: trunk
changeset: 747255:1890ee312a9f
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Sep 07 13:02:37 2009 +0000
description:
Always define __NetBSD__ (for builds on non-NetBSD)
diffstat:
sys/rump/Makefile.rump | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r b2342870ae80 -r 1890ee312a9f sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump Mon Sep 07 12:52:53 2009 +0000
+++ b/sys/rump/Makefile.rump Mon Sep 07 13:02:37 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rump,v 1.38 2009/05/03 16:53:54 pooka Exp $
+# $NetBSD: Makefile.rump,v 1.39 2009/09/07 13:02:37 pooka Exp $
#
WARNS?= 3 # XXX: src/sys won't compile with -Wsign-compare yet
@@ -25,6 +25,9 @@
CPPFLAGS+= -nostdinc -I${RUMPTOP}/..
#CPPFLAGS+= -DDEBUG
+# make sure __NetBSD__ gets defined (for builds on non-NetBSD)
+CPPFLAGS+= -D__NetBSD__
+
RUMPKERNEL= This is NetBSD and I am the rump. Good evening.
# workaround: evbppc is not a well-defined arch
Home |
Main Index |
Thread Index |
Old Index