From d9f286ecb09680f9bd04100c194c03138b3be4d2 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 2 Aug 2011 17:11:40 +0000 Subject: Don't fail on tautologic code when compiling with Clang --- x11/libunique/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'x11/libunique') diff --git a/x11/libunique/Makefile b/x11/libunique/Makefile index 3e65a97b40b..36bab6af1a6 100644 --- a/x11/libunique/Makefile +++ b/x11/libunique/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2011/04/22 13:42:40 obache Exp $ +# $NetBSD: Makefile,v 1.14 2011/08/02 17:11:40 joerg Exp $ # DISTNAME= libunique-1.1.6 @@ -23,6 +23,12 @@ PKGCONFIG_OVERRIDE+= unique.pc.in # for more detail, see also PR#41475. TOOLS_NOOP+= gtkdoc-rebase +.include "../../mk/compiler.mk" + +.if !empty(PKGSRC_COMPILER:Mclang) +CFLAGS+= -Wno-tautological-compare +.endif + .include "options.mk" .include "../../x11/gtk2/buildlink3.mk" -- cgit v1.2.3