diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-06-03 14:37:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-06-03 14:37:59 +0000 |
commit | 7b0079d2667a0105244cc610bdbf0338a8cb1418 (patch) | |
tree | bbeacda3f45a9b6232f2e79185e2908590d85210 /lib/libm/Makefile | |
parent | 287a38234f34f8e1f28c78428d06131f1f61f178 (diff) |
egcs generates broken code for -O2 on sparc
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 \ |