Hide some potential bugs by disabling default warnings with clang.

This commit is contained in:
joerg 2011-09-07 23:41:04 +00:00
parent 323a7c648e
commit c801234a83

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.39 2011/08/22 08:51:46 wiz Exp $
# $NetBSD: Makefile,v 1.40 2011/09/07 23:41:04 joerg Exp $
DISTNAME= binutils-2.17
PKGREVISION= 1
@ -44,6 +44,12 @@ PLIST_VARS+= gprof
PLIST.gprof= yes
.endif
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CFLAGS+= -Wno-unused-value -Wno-format-security \
-Wno-uninitialized -Wno-format
.endif
# Prevent the need to run texi2pod.pl and pod2man hence
# the need for perl as build dependency.
#