Module Name:    src
Committed By:   christos
Date:           Tue Apr 19 21:11:05 UTC 2016

Modified Files:
        src/external/gpl3/gcc/usr.bin: Makefile.inc

Log Message:
Enable minimal warnings, disabling the unused and narrowing ones that gcc
authors don't seem to pay attention to.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/external/gpl3/gcc/usr.bin/Makefile.inc

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/usr.bin/Makefile.inc
diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.26 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.27
--- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.26	Tue Mar 15 15:14:47 2016
+++ src/external/gpl3/gcc/usr.bin/Makefile.inc	Tue Apr 19 17:11:05 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.26 2016/03/15 19:14:47 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.27 2016/04/19 21:11:05 christos Exp $
 
 .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
 _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1
@@ -100,4 +100,7 @@ CPPFLAGS+=	-DNO_SHARED_LIBGCC_MULTILIB
 
 NOCLANGERROR=	# defined
 
+WARNS=1
+COPTS+=-Wno-narrowing -Wno-unused
+
 .endif

Reply via email to