diff options
author | bapt <bapt@FreeBSD.org> | 2014-02-21 14:14:48 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-02-21 14:14:48 +0000 |
commit | dd12a82964ee267b88faa16dc9af3391cedb05dd (patch) | |
tree | 19ef597014c796680b345d0052bd664d6ab9ff63 /libexec | |
parent | 7b885e10a072f01b2512c1dcc9126678f92a36ec (diff) | |
download | FreeBSD-src-dd12a82964ee267b88faa16dc9af3391cedb05dd.zip FreeBSD-src-dd12a82964ee267b88faa16dc9af3391cedb05dd.tar.gz |
Lower warning level when built with gcc
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/dma/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libexec/dma/Makefile b/libexec/dma/Makefile index a4884af..757faf4 100644 --- a/libexec/dma/Makefile +++ b/libexec/dma/Makefile @@ -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> |