From ce52f77fb0a32db980a6ba46dd7f13da98dc78aa Mon Sep 17 00:00:00 2001 From: uwe Date: Mon, 1 Sep 2003 09:38:42 +0000 Subject: [PATCH] Now that HAVE_GCC3 is always defined, adjust the logic that selects if NOPIC for sh3 should be set to check the value of HAVE_GCC3. --- share/mk/bsd.own.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index ca68703622f7..dea85e21948e 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.355 2003/08/29 10:51:21 martin Exp $ +# $NetBSD: bsd.own.mk,v 1.356 2003/09/01 09:38:42 uwe Exp $ .if !defined(_BSD_OWN_MK_) _BSD_OWN_MK_=1 @@ -400,9 +400,9 @@ MKGCC:= no .endif # -# The sh3 port is incomplete. +# GCC can produce PIC code for sh3 only starting with gcc3. # -.if ${MACHINE_CPU} == "sh3" && !defined(HAVE_GCC3) +.if ${MACHINE_CPU} == "sh3" && ${HAVE_GCC3} != "yes" NOPIC= # defined .endif