Module Name: src
Committed By: matt
Date: Thu Jul 14 18:12:35 UTC 2011
Modified Files:
src/share/mk: bsd.kmodule.mk
Log Message:
VAX kernel modules need to be built with -fno-pic
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/share/mk/bsd.kmodule.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.kmodule.mk
diff -u src/share/mk/bsd.kmodule.mk:1.30 src/share/mk/bsd.kmodule.mk:1.31
--- src/share/mk/bsd.kmodule.mk:1.30 Mon Jun 20 07:44:00 2011
+++ src/share/mk/bsd.kmodule.mk Thu Jul 14 18:12:35 2011
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.kmodule.mk,v 1.30 2011/06/20 07:44:00 mrg Exp $
+# $NetBSD: bsd.kmodule.mk,v 1.31 2011/07/14 18:12:35 matt Exp $
# We are not building this with PIE
MKPIE=no
@@ -33,6 +33,8 @@
CFLAGS+= -mlong-calls
.elif ${MACHINE_CPU} == "powerpc"
CFLAGS+= -mlongcall
+.elif ${MACHINE_CPU} == "vax"
+CFLAGS+= -fno-pic
.endif
# evbppc needs some special help