Module Name: src Committed By: pooka Date: Mon Apr 26 23:01:53 UTC 2010
Modified Files: src/sys/rump: Makefile.rump Log Message: Give a cpp hint if the native kernel abi is supported. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 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.55 src/sys/rump/Makefile.rump:1.56 --- src/sys/rump/Makefile.rump:1.55 Sun Mar 28 04:29:34 2010 +++ src/sys/rump/Makefile.rump Mon Apr 26 23:01:53 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.rump,v 1.55 2010/03/28 04:29:34 mrg Exp $ +# $NetBSD: Makefile.rump,v 1.56 2010/04/26 23:01:53 pooka Exp $ # WARNS?= 3 # XXX: src/sys won't compile with -Wsign-compare yet @@ -10,6 +10,8 @@ # use rump ABI instead of the NetBSD kernel ABI. .ifndef RUMPKMOD CPPFLAGS:= -I${RUMPTOP}/include ${CPPFLAGS} +.else +CPPFLAGS+= -D_RUMP_NATIVE_ABI .endif CFLAGS+= -ffreestanding -fno-strict-aliasing