Module Name: src Committed By: pooka Date: Wed Nov 21 17:53:10 UTC 2012
Modified Files: src/sys/rump: Makefile.rump Log Message: Instead of maintaining an evergrowing list of -U's, leave that up to an external script. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/rump/Makefile.rump Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/Makefile.rump diff -u src/sys/rump/Makefile.rump:1.66 src/sys/rump/Makefile.rump:1.67 --- src/sys/rump/Makefile.rump:1.66 Wed Nov 21 17:51:42 2012 +++ src/sys/rump/Makefile.rump Wed Nov 21 17:53:10 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.rump,v 1.66 2012/11/21 17:51:42 pooka Exp $ +# $NetBSD: Makefile.rump,v 1.67 2012/11/21 17:53:10 pooka Exp $ # WARNS?= 3 # XXX: src/sys won't compile with -Wsign-compare yet @@ -59,9 +59,8 @@ CPPFLAGS+= -DLOCKDEBUG #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__ +# also, give those builds a way to undef the local compiler's macros +CPPFLAGS+= -D__NetBSD__ ${RUMPKERN_UNDEF} RUMPKERNEL= This is NetBSD and I am the rump. Good evening.