summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2011-07-11 11:07:05 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2011-07-11 11:07:05 +0000
commit4f69e977bd7d4a9b7d8480fa58774ca13beac905 (patch)
tree0260374f4c71b56ec8cdf3441b46dc117e24fbd5
parente8f8d51489887cf5a75d3e684c01261c844a60ce (diff)
Remove the GCC2 optimizer workaround for sparc. After switching
to GCC4 it doesn't generate broken code anymore. From Brad. Tested and verified by myself.
-rw-r--r--lib/libm/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile
index cb70d7015f2..435a1daf88c 100644
--- a/lib/libm/Makefile
+++ b/lib/libm/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.93 2011/07/09 22:17:22 martynas Exp $
+# $OpenBSD: Makefile,v 1.94 2011/07/11 11:07:04 martynas Exp $
# $NetBSD: Makefile,v 1.28 1995/11/20 22:06:19 jtc Exp $
#
# @(#)Makefile 5.1beta 93/09/24
@@ -12,10 +12,6 @@
# is preserved.
# ====================================================
-.if (${MACHINE_ARCH} == "sparc")
-CFLAGS+= -O0
-.endif
-
.if (${MACHINE_ARCH} == "alpha")
.PATH: ${.CURDIR}/arch/alpha
ARCH_SRCS = s_copysign.S s_copysignf.S