Don't pass -mno-pic if we're using ELF.

This commit is contained in:
thorpej 2002-02-11 00:25:19 +00:00
parent 1be69ad723
commit c71d1b0307
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.vax,v 1.67 2001/12/23 02:14:03 matt Exp $
# $NetBSD: Makefile.vax,v 1.68 2002/02/11 00:25:19 thorpej Exp $
# Makefile for NetBSD
#
@ -33,7 +33,9 @@ GENASSYM= ${VAX}/vax/genassym.cf
##
CPPFLAGS+= -D_VAX_INLINE_
AFLAGS+= -x assembler-with-cpp -traditional-cpp
.if ${OBJECT_FMT} != "ELF"
CFLAGS+= -mno-pic
.endif
##
## (3) libkern and compat