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.
This commit is contained in:
uwe 2003-09-01 09:38:42 +00:00
parent 1279eb3872
commit ce52f77fb0

View File

@ -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