From 840a2d6df744dbb8508585cc2741fbc25ca119f3 Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 8 Dec 2003 09:28:36 +0000 Subject: [PATCH] Make -mno-asm-pic dependend on HAVE_GCC3 == no --- sys/arch/vax/conf/Makefile.vax | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax index a09a9791b5d4..e879d7845869 100644 --- a/sys/arch/vax/conf/Makefile.vax +++ b/sys/arch/vax/conf/Makefile.vax @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.vax,v 1.70 2002/11/05 14:35:33 thorpej Exp $ +# $NetBSD: Makefile.vax,v 1.71 2003/12/08 09:28:36 matt Exp $ # Makefile for NetBSD # @@ -34,8 +34,10 @@ GENASSYM= ${VAX}/vax/genassym.cf CPPFLAGS+= -D_VAX_INLINE_ AFLAGS+= -x assembler-with-cpp -traditional-cpp .if ${OBJECT_FMT} == "ELF" +.if ${HAVE_GCC3} == "no" CFLAGS+= -mno-asm-pic AFLAGS+= -mno-asm-pic +.endif .else CFLAGS+= -fno-pic .endif