Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/softfloat mips wants some -Wno-enum-compare here, too.



details:   https://anonhg.NetBSD.org/src/rev/8ca25ffb369e
branches:  trunk
changeset: 766880:8ca25ffb369e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 03 15:26:58 2011 +0000

description:
mips wants some -Wno-enum-compare here, too.

diffstat:

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

diffs (18 lines):

diff -r f59ee8a0c4f9 -r 8ca25ffb369e lib/libc/softfloat/Makefile.inc
--- a/lib/libc/softfloat/Makefile.inc   Sun Jul 03 15:26:25 2011 +0000
+++ b/lib/libc/softfloat/Makefile.inc   Sun Jul 03 15:26:58 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.8 2011/07/01 01:25:52 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.9 2011/07/03 15:26:58 mrg Exp $
 
 SOFTFLOAT_BITS?=64
 .PATH:         ${ARCHDIR}/softfloat \
@@ -21,6 +21,7 @@
 
 # XXX
 .if defined(HAVE_GCC) && ${HAVE_GCC} >= 45 && \
-    (${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "armeb")
+    (${MACHINE_CPU} == "arm" || \
+     ${MACHINE_CPU} == "mips")
 COPTS.softfloat.c+=    -Wno-enum-compare
 .endif



Home | Main Index | Thread Index | Old Index