From 36874b6c583ff89d90680029db4e0cd02701713a Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 2 Jul 2003 15:37:21 +0000 Subject: [PATCH] With gcc3, PIC code can be created for sh3. --- share/mk/bsd.own.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index b18289d5e3dc..ebfd3f573752 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.336 2003/06/30 18:48:52 wiz Exp $ +# $NetBSD: bsd.own.mk,v 1.337 2003/07/02 15:37:21 marcus Exp $ .if !defined(_BSD_OWN_MK_) _BSD_OWN_MK_=1 @@ -354,7 +354,7 @@ MKGCC:= no .endif # The sh3 port is incomplete. -.if ${MACHINE_CPU} == "sh3" +.if ${MACHINE_CPU} == "sh3" && !defined(HAVE_GCC3) NOPIC= # defined .endif