Build kernels with -fno-pic.
This commit is contained in:
parent
87e605a5fe
commit
2a142509e8
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.vax,v 1.77 2006/06/02 22:16:18 mrg Exp $
|
||||
# $NetBSD: Makefile.vax,v 1.78 2007/03/31 05:59:45 matt Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -32,11 +32,8 @@ GENASSYM_CONF= ${VAX}/vax/genassym.cf
|
|||
## (2) compile settings
|
||||
##
|
||||
CPPFLAGS+= -D_VAX_INLINE_
|
||||
AFLAGS+= -x assembler-with-cpp -traditional-cpp
|
||||
.if ${OBJECT_FMT} == "ELF"
|
||||
.else
|
||||
AFLAGS+= -x assembler-with-cpp -traditional-cpp -fno-pic
|
||||
CFLAGS+= -fno-pic
|
||||
.endif
|
||||
|
||||
##
|
||||
## (3) libkern and compat
|
||||
|
|
Loading…
Reference in New Issue