diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-09-07 12:57:29 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-09-07 12:57:29 +0000 |
commit | 7ebe74806b16ac11206df0f2f1d4a730444f7bc9 (patch) | |
tree | fee2b729f6b0ad9695f943fcd3dfd412c8491c7a /sysutils | |
parent | 2871c69b92737b0f49bb8118f7e42d46b3cc60a2 (diff) | |
download | pkgsrc-7ebe74806b16ac11206df0f2f1d4a730444f7bc9.tar.gz |
Don't use -Wno-error flags on Darwin, its version of clang does not support
them.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/collectd/Makefile.common | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/collectd/Makefile.common b/sysutils/collectd/Makefile.common index f46983f76ae..baf7f71c042 100644 --- a/sysutils/collectd/Makefile.common +++ b/sysutils/collectd/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.9 2015/06/10 20:05:26 fhajny Exp $ +# $NetBSD: Makefile.common,v 1.10 2015/09/07 12:57:29 jperkin Exp $ # # used by sysutils/collectd/Makefile # used by sysutils/collectd-amqp/Makefile @@ -71,7 +71,8 @@ CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include CPPFLAGS.SunOS+= -DSOLARIS2=${OS_VERSION:C/5.//} .include "../../mk/compiler.mk" -.if !empty(PKGSRC_COMPILER:Mclang) +# XXX: proper clang version check when we have support for it. +.if !empty(PKGSRC_COMPILER:Mclang) && ${OPSYS} != "Darwin" CFLAGS+= -Wno-error=tautological-pointer-compare \ -Wno-error=pointer-bool-conversion .endif |