Source-Changes-HG archive

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

[src/trunk]: src/sys/rump add some -U's for linux builds



details:   https://anonhg.NetBSD.org/src/rev/cc5ed9882bd6
branches:  trunk
changeset: 782673:cc5ed9882bd6
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Nov 13 19:12:42 2012 +0000

description:
add some -U's for linux builds

diffstat:

 sys/rump/Makefile.rump |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r a02dd7c90710 -r cc5ed9882bd6 sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Tue Nov 13 17:40:56 2012 +0000
+++ b/sys/rump/Makefile.rump    Tue Nov 13 19:12:42 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.63 2012/08/10 16:05:27 joerg Exp $
+#      $NetBSD: Makefile.rump,v 1.64 2012/11/13 19:12:42 pooka Exp $
 #
 
 WARNS?=                3       # XXX: src/sys won't compile with -Wsign-compare yet
@@ -53,7 +53,9 @@
 #LDFLAGS+=     -nodefaultlibs
 
 # make sure __NetBSD__ gets defined (for builds on non-NetBSD)
+# aaand make sure cc doesn't source files any wild ideas
 CPPFLAGS+=     -D__NetBSD__
+CPPFLAGS+=     -Ulinux -U__linux -U__linux__ -U__gnu_linux__
 
 RUMPKERNEL=    This is NetBSD and I am the rump.  Good evening.
 



Home | Main Index | Thread Index | Old Index