diff options
Diffstat (limited to 'lib/libm/Makefile')
-rw-r--r-- | lib/libm/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile index a0f5d31f04e..6f32097e0ee 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -1,5 +1,5 @@ # $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $ -# $OpenBSD: Makefile,v 1.18 1999/05/26 13:52:05 espie Exp $ +# $OpenBSD: Makefile,v 1.19 1999/06/03 14:37:58 deraadt Exp $ # # @(#)Makefile 5.1beta 93/09/24 # @@ -47,6 +47,10 @@ CFLAGS+= -D__LIBM_PRIVATE -D_USE_WRITE +.if (${MACHINE_ARCH} == "sparc") +CFLAGS+= -O0 +.endif + .if (${MACHINE_ARCH} == "i386") .PATH: ${.CURDIR}/arch/i387 ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_fmod.S e_log.S e_log10.S \ |