Module Name:    src
Committed By:   joerg
Date:           Tue Aug  9 12:58:55 UTC 2011

Modified Files:
        src/external/gpl3/gcc/lib/libiberty: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/lib/libiberty/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/lib/libiberty/Makefile
diff -u src/external/gpl3/gcc/lib/libiberty/Makefile:1.2 src/external/gpl3/gcc/lib/libiberty/Makefile:1.3
--- src/external/gpl3/gcc/lib/libiberty/Makefile:1.2	Thu Jun 23 11:47:12 2011
+++ src/external/gpl3/gcc/lib/libiberty/Makefile	Tue Aug  9 12:58:55 2011
@@ -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>

Reply via email to