diff options
author | joerg <joerg> | 2014-02-18 15:01:09 +0000 |
---|---|---|
committer | joerg <joerg> | 2014-02-18 15:01:09 +0000 |
commit | 24c8bab2a851f380c539a9e6feb41df113eef305 (patch) | |
tree | fdccf0b0c1ce8d370d78d6298530fa519dc23097 /cross/bossa/Makefile | |
parent | 5159cc1dbc3007602cc9a22bcb87c94e5b4b08f5 (diff) | |
download | pkgsrc-24c8bab2a851f380c539a9e6feb41df113eef305.tar.gz |
Honour our CXXFLAGS. Fix build with Clang.
Diffstat (limited to 'cross/bossa/Makefile')
-rw-r--r-- | cross/bossa/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cross/bossa/Makefile b/cross/bossa/Makefile index 64eb1a1f10b..c23a52bb26e 100644 --- a/cross/bossa/Makefile +++ b/cross/bossa/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2014/02/10 20:18:04 reinoud Exp $ +# $NetBSD: Makefile,v 1.4 2014/02/18 15:01:09 joerg Exp $ PKGNAME= bossa-20140109 DISTNAME= b-o-s-s-a-code-05bfcc39bc0453c3028b1161175b95a81af7a901 @@ -22,6 +22,11 @@ do-install: USE_LANGUAGES= c++ USE_TOOLS= gmake +.include "../../mk/compiler.mk" +.if !empty(PKGSRC_COMPILER:Mclang) +CXXFLAGS+= -Wno-error=tautological-compare +.endif + .include "../../devel/readline/buildlink3.mk" .include "../../x11/wxGTK28/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |