Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/fstyp Ignore pragma warnings with clang for the zfs...



details:   https://anonhg.NetBSD.org/src/rev/5037dd49ccb5
branches:  trunk
changeset: 829203:5037dd49ccb5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Jan 22 01:34:42 2018 +0000

description:
Ignore pragma warnings with clang for the zfs code.

diffstat:

 usr.sbin/fstyp/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 2fa6afe7a43b -r 5037dd49ccb5 usr.sbin/fstyp/Makefile
--- a/usr.sbin/fstyp/Makefile   Sun Jan 21 20:36:49 2018 +0000
+++ b/usr.sbin/fstyp/Makefile   Mon Jan 22 01:34:42 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2018/01/09 03:31:15 christos Exp $
+#      $NetBSD: Makefile,v 1.2 2018/01/22 01:34:42 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -25,4 +25,6 @@
 LDADD+=        -lnvpair -lzfs
 .endif
 
+CWARNFLAGS.clang+=     -Wno-unknown-pragmas
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index