diff options
author | joerg <joerg> | 2011-09-07 23:41:04 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-09-07 23:41:04 +0000 |
commit | 9826f6dfc084206ce43de21ca72e496b5434cdfc (patch) | |
tree | 6d852069cbbe43a2050bcb2a370892877b9179b1 /devel | |
parent | 6d6c0c3dd25d1de90dd1a30b77f6ac438650c907 (diff) | |
download | pkgsrc-9826f6dfc084206ce43de21ca72e496b5434cdfc.tar.gz |
Hide some potential bugs by disabling default warnings with clang.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/binutils/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index 6a6814c990b..1566a7940e4 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -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. # |