Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libiberty Disable -Wunused-value for c...



details:   https://anonhg.NetBSD.org/src/rev/c7de2e8764cf
branches:  trunk
changeset: 768136:c7de2e8764cf
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Aug 09 12:58:55 2011 +0000

description:
Disable -Wunused-value for clang, it triggers on the bcopy replacement.

diffstat:

 external/gpl3/gcc/lib/libiberty/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r dab7cbd9e2eb -r c7de2e8764cf external/gpl3/gcc/lib/libiberty/Makefile
--- a/external/gpl3/gcc/lib/libiberty/Makefile  Tue Aug 09 12:56:41 2011 +0000
+++ b/external/gpl3/gcc/lib/libiberty/Makefile  Tue Aug 09 12:58:55 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2011/06/23 11:47:12 mrg Exp $
+#      $NetBSD: Makefile,v 1.3 2011/08/09 12:58:55 joerg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -22,6 +22,8 @@
 COPTS.make-relative-prefix.c = -Wno-stack-protector
 COPTS.regex.c = -Wno-stack-protector
 
+CWARNFLAGS.clang+=     -Wno-unused-value
+
 .PATH: ${DIST}/libiberty
 
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index