svn commit: r262297 - head/libexec/dma

Baptiste Daroussin bapt at FreeBSD.org
Fri Feb 21 14:14:49 UTC 2014


Author: bapt
Date: Fri Feb 21 14:14:48 2014
New Revision: 262297
URL: http://svnweb.freebsd.org/changeset/base/262297

Log:
  Lower warning level when built with gcc

Modified:
  head/libexec/dma/Makefile

Modified: head/libexec/dma/Makefile
==============================================================================
--- head/libexec/dma/Makefile	Fri Feb 21 13:53:41 2014	(r262296)
+++ head/libexec/dma/Makefile	Fri Feb 21 14:14:48 2014	(r262297)
@@ -31,4 +31,10 @@ CLEANFILES=	aliases_parse.i
 BINGRP=	mail
 BINMODE=	2555
 
+.include <bsd.compiler.mk>
+
+.if ${COMPILER_TYPE} == gcc
+WARNS=	5
+.endif
+
 .include <bsd.prog.mk>


More information about the svn-src-all mailing list