pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/bsdec2-image-upload Disable some warnings for...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19b3a4554776
branches:  trunk
changeset: 406442:19b3a4554776
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 21 23:45:22 2019 +0000

description:
Disable some warnings for clang.

diffstat:

 sysutils/bsdec2-image-upload/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 2ebdd43d0d7d -r 19b3a4554776 sysutils/bsdec2-image-upload/Makefile
--- a/sysutils/bsdec2-image-upload/Makefile     Sat Dec 21 23:44:59 2019 +0000
+++ b/sysutils/bsdec2-image-upload/Makefile     Sat Dec 21 23:45:22 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/05/22 08:58:39 jmcneill Exp $
+# $NetBSD: Makefile,v 1.3 2019/12/21 23:45:22 joerg Exp $
 
 GITHUB_PROJECT=        bsdec2-image-upload
 DISTNAME=      1.2.2
@@ -22,6 +22,9 @@
 CFLAGS+=       -Wno-error=pointer-sign \
                -Wno-error=maybe-uninitialized \
                -Wno-error=discarded-qualifiers
+.elif !empty(PKGSRC_COMPILER:Mclang)
+CFLAGS+=       -Wno-unknown-warning-option -Wno-pointer-sign \
+               -Wno-incompatible-pointer-types-discards-qualifiers
 .endif
 
 INSTALLATION_DIRS+=    bin



Home | Main Index | Thread Index | Old Index