Module Name:    src
Committed By:   joerg
Date:           Mon Jan 22 01:34:42 UTC 2018

Modified Files:
        src/usr.sbin/fstyp: Makefile

Log Message:
Ignore pragma warnings with clang for the zfs code.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/fstyp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/fstyp/Makefile
diff -u src/usr.sbin/fstyp/Makefile:1.1 src/usr.sbin/fstyp/Makefile:1.2
--- src/usr.sbin/fstyp/Makefile:1.1	Tue Jan  9 03:31:15 2018
+++ src/usr.sbin/fstyp/Makefile	Mon Jan 22 01:34:42 2018
@@ -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 @@ CFLAGS+=	-I${NETBSDSRCDIR}/external/cddl
 LDADD+=	-lnvpair -lzfs
 .endif
 
+CWARNFLAGS.clang+=	-Wno-unknown-pragmas
+
 .include <bsd.prog.mk>

Reply via email to