Drop optmization to -O0 for sh5 for one file to work around an

internal compiler error.
This commit is contained in:
he 2004-05-13 22:32:47 +00:00
parent d04e4d7440
commit 7cf5573a11
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2004/03/06 03:05:39 rtr Exp $
# $NetBSD: Makefile,v 1.12 2004/05/13 22:32:47 he Exp $
NOLINT= 1 # XTODO: 3dnow.ln barfs on src/math/m_vertices.h
@ -76,6 +76,10 @@ COMPILE.S= ${COMPILE.s} # XXX don't want -traditional-cpp
AFLAGS+= -DUSE_GAS -I. -I${X11SRCDIR.xc}/extras/Mesa/src/X86
.endif
.if ${MACHINE_CPU} == "sh5"
COPTS.s_triangle.c= -O0
.endif
.if ${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "sparc64"
.PATH: ${X11SRCDIR.xc}/extras/Mesa/src/SPARC
SRCS+= sparc.c xform.S clip.S norm.S