Source-Changes-HG archive

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

[src/trunk]: src/share/mk Allow PIC on SuperH if HAVE_GCC3 is defined.



details:   https://anonhg.NetBSD.org/src/rev/11613f17a749
branches:  trunk
changeset: 521713:11613f17a749
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Feb 03 23:52:23 2002 +0000

description:
Allow PIC on SuperH if HAVE_GCC3 is defined.

diffstat:

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

diffs (19 lines):

diff -r 17f2034f9910 -r 11613f17a749 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Feb 03 23:37:53 2002 +0000
+++ b/share/mk/bsd.own.mk       Sun Feb 03 23:52:23 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.265 2002/01/31 22:43:42 tv Exp $
+#      $NetBSD: bsd.own.mk,v 1.266 2002/02/03 23:52:23 thorpej Exp $
 
 .if !defined(_BSD_OWN_MK_)
 _BSD_OWN_MK_=1
@@ -265,7 +265,9 @@
 # The sh3 port is incomplete.
 .if ${MACHINE_ARCH} == "sh3eb" || ${MACHINE_ARCH} == "sh3el"
 NOLINT=                # defined
+.if !defined(HAVE_GCC3)
 NOPIC=         # defined
+.endif
 NOPROFILE=     # defined
 .endif
 



Home | Main Index | Thread Index | Old Index