From 0acae441203350685f4653a933062c5b34d9b3c1 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Fri, 21 Feb 2014 14:14:48 +0000 Subject: [PATCH] Lower warning level when built with gcc --- libexec/dma/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libexec/dma/Makefile b/libexec/dma/Makefile index a4884afefbd3..757faf4a3c34 100644 --- a/libexec/dma/Makefile +++ b/libexec/dma/Makefile @@ -31,4 +31,10 @@ CLEANFILES= aliases_parse.i BINGRP= mail BINMODE= 2555 +.include + +.if ${COMPILER_TYPE} == gcc +WARNS= 5 +.endif + .include