Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/softfloat Only apply -fno-tree-vrp for GCC.
details: https://anonhg.NetBSD.org/src/rev/e695ba19e7b6
branches: trunk
changeset: 325348:e695ba19e7b6
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Dec 19 22:20:01 2013 +0000
description:
Only apply -fno-tree-vrp for GCC.
diffstat:
lib/libc/softfloat/Makefile.inc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r e6a764f7d5c9 -r e695ba19e7b6 lib/libc/softfloat/Makefile.inc
--- a/lib/libc/softfloat/Makefile.inc Thu Dec 19 22:13:38 2013 +0000
+++ b/lib/libc/softfloat/Makefile.inc Thu Dec 19 22:20:01 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.15 2013/04/30 01:42:04 matt Exp $
+# $NetBSD: Makefile.inc,v 1.16 2013/12/19 22:20:01 joerg Exp $
SOFTFLOAT_BITS?=64
.PATH: ${ARCHDIR}/softfloat \
@@ -32,7 +32,8 @@
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
.if (${MACHINE_CPU} == "arm")
# See doc/HACKS for more information.
-COPTS.softfloat.c+= -Wno-enum-compare -fno-tree-vrp
+COPTS.softfloat.c+= -Wno-enum-compare
+COPTS.softfloat.c+= ${${ACTIVE_CXX} == "gcc":? -fno-tree-vrp :}
.elif (${MACHINE_CPU} == "mips" || \
${MACHINE_CPU} == "sh3")
COPTS.softfloat.c+= -Wno-enum-compare
Home |
Main Index |
Thread Index |
Old Index