summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-08-02 17:11:40 +0000
committerjoerg <joerg@pkgsrc.org>2011-08-02 17:11:40 +0000
commit77c57ccadbb7bb617a19a6244715d53776988d8f (patch)
tree37922d63ab6ed0ca33133a0e4751964eda246f49 /x11
parentbfe05c9ac28a4da4ff1d96930c6d37d0b90e0079 (diff)
downloadpkgsrc-77c57ccadbb7bb617a19a6244715d53776988d8f.tar.gz
Don't fail on tautologic code when compiling with Clang
Diffstat (limited to 'x11')
-rw-r--r--x11/libunique/Makefile8
1 files changed, 7 insertions, 1 deletions
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"