Instead of maintaining an evergrowing list of -U's, leave that up
to an external script.
This commit is contained in:
parent
49029daa1a
commit
e4cca1b663
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user