Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/softfloat sh3 also needs -Wno-enum-compare here.



details:   https://anonhg.NetBSD.org/src/rev/b33a3bd68257
branches:  trunk
changeset: 766913:b33a3bd68257
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 04 02:53:15 2011 +0000

description:
sh3 also needs -Wno-enum-compare here.

diffstat:

 lib/libc/softfloat/Makefile.inc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ea6d2f16a78a -r b33a3bd68257 lib/libc/softfloat/Makefile.inc
--- a/lib/libc/softfloat/Makefile.inc   Sun Jul 03 23:25:01 2011 +0000
+++ b/lib/libc/softfloat/Makefile.inc   Mon Jul 04 02:53:15 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.9 2011/07/03 15:26:58 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.10 2011/07/04 02:53:15 mrg Exp $
 
 SOFTFLOAT_BITS?=64
 .PATH:         ${ARCHDIR}/softfloat \
@@ -22,6 +22,7 @@
 # XXX
 .if defined(HAVE_GCC) && ${HAVE_GCC} >= 45 && \
     (${MACHINE_CPU} == "arm" || \
-     ${MACHINE_CPU} == "mips")
+     ${MACHINE_CPU} == "mips" || \
+     ${MACHINE_CPU} == "sh3")
 COPTS.softfloat.c+=    -Wno-enum-compare
 .endif



Home | Main Index | Thread Index | Old Index