Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/conf Don't pass -mno-pic if we're using ELF.
details: https://anonhg.NetBSD.org/src/rev/9e28708253cc
branches: trunk
changeset: 522058:9e28708253cc
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Feb 11 00:25:19 2002 +0000
description:
Don't pass -mno-pic if we're using ELF.
diffstat:
sys/arch/vax/conf/Makefile.vax | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 8b09049708d2 -r 9e28708253cc sys/arch/vax/conf/Makefile.vax
--- a/sys/arch/vax/conf/Makefile.vax Mon Feb 11 00:02:12 2002 +0000
+++ b/sys/arch/vax/conf/Makefile.vax Mon Feb 11 00:25:19 2002 +0000
@@ -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 @@
##
CPPFLAGS+= -D_VAX_INLINE_
AFLAGS+= -x assembler-with-cpp -traditional-cpp
+.if ${OBJECT_FMT} != "ELF"
CFLAGS+= -mno-pic
+.endif
##
## (3) libkern and compat
Home |
Main Index |
Thread Index |
Old Index