Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Now that HAVE_GCC3 is always defined, adjust the lo...



details:   https://anonhg.NetBSD.org/src/rev/2521df060e96
branches:  trunk
changeset: 551204:2521df060e96
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Sep 01 09:38:42 2003 +0000

description:
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.

diffstat:

 share/mk/bsd.own.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 7a5a292ebeaa -r 2521df060e96 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Mon Sep 01 08:19:57 2003 +0000
+++ b/share/mk/bsd.own.mk       Mon Sep 01 09:38:42 2003 +0000
@@ -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 @@
 .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
 



Home | Main Index | Thread Index | Old Index