diff options
author | joerg <joerg@pkgsrc.org> | 2012-11-16 00:44:34 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-11-16 00:44:34 +0000 |
commit | 2d56231cbbff32324f6fefca3217cbb6bf697183 (patch) | |
tree | 77ae71cdf0efd97c2ca01b6bf350904c8c1456ea /devel | |
parent | 8198ab7b712a5390e1fd059d0a52befbe029941f (diff) | |
download | pkgsrc-2d56231cbbff32324f6fefca3217cbb6bf697183.tar.gz |
Make unused attributes fatal for clang as configure misdetects
Windows-style visiblity attributes without the flag.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/log4cplus/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/log4cplus/Makefile b/devel/log4cplus/Makefile index 6ba0f113d41..72b8eb721d4 100644 --- a/devel/log4cplus/Makefile +++ b/devel/log4cplus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2012/10/31 11:17:25 asau Exp $ +# $NetBSD: Makefile,v 1.3 2012/11/16 00:44:34 joerg Exp $ # DISTNAME= log4cplus-1.0.4 @@ -15,4 +15,9 @@ GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_LANGUAGES= c c++ # C for configure +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CPPFLAGS+= -Werror=ignored-attributes +.endif + .include "../../mk/bsd.pkg.mk" |