Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/softfloat Restrict the arm compiler optimization ha...
details: https://anonhg.NetBSD.org/src/rev/828ff5c7079e
branches: trunk
changeset: 337256:828ff5c7079e
user: martin <martin%NetBSD.org@localhost>
date: Wed Apr 08 13:16:37 2015 +0000
description:
Restrict the arm compiler optimization hack to gcc 4.5
diffstat:
lib/libc/softfloat/Makefile.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 4c04c852b8fa -r 828ff5c7079e lib/libc/softfloat/Makefile.inc
--- a/lib/libc/softfloat/Makefile.inc Wed Apr 08 12:38:13 2015 +0000
+++ b/lib/libc/softfloat/Makefile.inc Wed Apr 08 13:16:37 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.19 2014/08/10 23:39:08 matt Exp $
+# $NetBSD: Makefile.inc,v 1.20 2015/04/08 13:16:37 martin Exp $
SOFTFLOAT_BITS?=64
.PATH: ${ARCHDIR}/softfloat \
@@ -31,7 +31,7 @@
# XXX
.if defined(HAVE_GCC)
-. if (${LIBC_MACHINE_CPU} == "arm")
+. if (${LIBC_MACHINE_CPU} == "arm") && (${HAVE_GCC} == "45")
# See doc/HACKS for more information.
COPTS.softfloat.c+= -Wno-enum-compare
COPTS.softfloat.c+= ${${ACTIVE_CXX} == "gcc":? -fno-tree-vrp :}
Home |
Main Index |
Thread Index |
Old Index