Source-Changes-HG archive

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

[src/trunk]: src/x11/Xserver/GL/GLcore Drop optmization to -O0 for sh5 for on...



details:   https://anonhg.NetBSD.org/src/rev/14690071f790
branches:  trunk
changeset: 566616:14690071f790
user:      he <he%NetBSD.org@localhost>
date:      Fri May 14 07:21:24 2004 +0000

description:
Drop optmization to -O0 for sh5 for one file to work around an
internal compiler error.

diffstat:

 x11/Xserver/GL/GLcore/Makefile.GLcore |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r fe41b51ac2e1 -r 14690071f790 x11/Xserver/GL/GLcore/Makefile.GLcore
--- a/x11/Xserver/GL/GLcore/Makefile.GLcore     Thu May 13 22:32:47 2004 +0000
+++ b/x11/Xserver/GL/GLcore/Makefile.GLcore     Fri May 14 07:21:24 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.GLcore,v 1.6 2004/04/05 12:03:25 lukem Exp $
+#      $NetBSD: Makefile.GLcore,v 1.7 2004/05/14 07:21:24 he Exp $
 
 LIB=   GLcore
 
@@ -73,6 +73,10 @@
 
 CPPFLAGS+=     -DGLXEXT -DGLX_USE_MESA
 
+.if ${MACHINE_CPU} == "sh5"
+COPTS.s_triangle.c= -O0
+.endif
+
 .include <bsd.x11.mk>
 LIBDIR=        ${XMODULEDIR}
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index