Source-Changes-HG archive

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

[src/trunk]: src/x11/lib/GLU avoid compiler bug



details:   https://anonhg.NetBSD.org/src/rev/5fdf37e7556c
branches:  trunk
changeset: 786960:5fdf37e7556c
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 24 17:44:27 2013 +0000

description:
avoid compiler bug

diffstat:

 x11/lib/GLU/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 4dadb14e33c3 -r 5fdf37e7556c x11/lib/GLU/Makefile
--- a/x11/lib/GLU/Makefile      Fri May 24 17:18:12 2013 +0000
+++ b/x11/lib/GLU/Makefile      Fri May 24 17:44:27 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2011/07/21 03:36:29 mrg Exp $
+#      $NetBSD: Makefile,v 1.9 2013/05/24 17:44:27 christos Exp $
 
 NOLINT=                1       # XTODO: tess.ln SIGSEGVs lint :(
 
@@ -74,3 +74,8 @@
 # XXX -Wno-deprecated doesn't work?
 CXXFLAGS+=     -Wno-error
 .endif
+
+.if ${MACHINE_ARCH} == "m68000" || ${MACHINE_ARCH} == "m68k"
+COPTS.sampleCompTop.cc+=        -O0
+.endif
+



Home | Main Index | Thread Index | Old Index