Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/sed Deoptimize (gcc-sh3-sed hack) only if ${HAVE_GCC...



details:   https://anonhg.NetBSD.org/src/rev/3b0966501ce3
branches:  trunk
changeset: 554368:3b0966501ce3
user:      uwe <uwe%NetBSD.org@localhost>
date:      Mon Oct 27 13:27:41 2003 +0000

description:
Deoptimize (gcc-sh3-sed hack) only if ${HAVE_GCC3} != "yes".

diffstat:

 usr.bin/sed/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 259d9fa37353 -r 3b0966501ce3 usr.bin/sed/Makefile
--- a/usr.bin/sed/Makefile      Mon Oct 27 12:47:33 2003 +0000
+++ b/usr.bin/sed/Makefile      Mon Oct 27 13:27:41 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2002/06/14 00:37:29 wiz Exp $
+#      $NetBSD: Makefile,v 1.11 2003/10/27 13:27:41 uwe Exp $
 #      from: @(#)Makefile      8.1 (Berkeley) 6/6/93
 
 .include <bsd.own.mk>
@@ -7,7 +7,7 @@
 SRCS=  compile.c main.c misc.c process.c
 WARNS= 2
 
-.if (${MACHINE_CPU} == "sh3")
+.if ${MACHINE_CPU} == "sh3" && ${HAVE_GCC3} != "yes"
 COPTS+= -O0
 .endif
 



Home | Main Index | Thread Index | Old Index