Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet Make cddl/osnet/Makefile.zfs compatible ...
details: https://anonhg.NetBSD.org/src/rev/9163ebfa43dc
branches: trunk
changeset: 323264:9163ebfa43dc
user: kamil <kamil%NetBSD.org@localhost>
date: Wed Jun 06 14:47:54 2018 +0000
description:
Make cddl/osnet/Makefile.zfs compatible with MKLLVM=yes
Clang/LLVM does not recognize:
- -Wno-discarded-qualifiers
This is a step forward functional MKLLVM=yes HAVE_LLVM=yes build.
Sponsored by <The NetBSD Foundation>
diffstat:
external/cddl/osnet/Makefile.zfs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r ae7e0092037f -r 9163ebfa43dc external/cddl/osnet/Makefile.zfs
--- a/external/cddl/osnet/Makefile.zfs Wed Jun 06 14:46:58 2018 +0000
+++ b/external/cddl/osnet/Makefile.zfs Wed Jun 06 14:47:54 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.zfs,v 1.5 2018/05/28 21:05:02 chs Exp $
+# $NetBSD: Makefile.zfs,v 1.6 2018/06/06 14:47:54 kamil Exp $
.include <bsd.own.mk>
@@ -42,7 +42,9 @@
CWARNFLAGS+= -Wno-missing-field-initializers
CWARNFLAGS+= -Wno-strict-prototypes
CWARNFLAGS+= -Wno-cast-qual
+.if defined(HAVE_LLVM)
CWARNFLAGS+= -Wno-discarded-qualifiers
+.endif
CWARNFLAGS+= -Wno-switch
CWARNFLAGS+= -Wno-missing-prototypes
CWARNFLAGS+= -Wno-unused-variable
Home |
Main Index |
Thread Index |
Old Index