Module Name: src
Committed By: ryoon
Date: Mon Jun 13 20:03:07 UTC 2016
Modified Files:
src/external/mit/xorg/lib/libX11: Makefile.ximcp
src/sys/modules/ipl: Makefile
Log Message:
Fix buld with clang, add warning option exceptions
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/mit/xorg/lib/libX11/Makefile.ximcp
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/ipl/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/lib/libX11/Makefile.ximcp
diff -u src/external/mit/xorg/lib/libX11/Makefile.ximcp:1.3 src/external/mit/xorg/lib/libX11/Makefile.ximcp:1.4
--- src/external/mit/xorg/lib/libX11/Makefile.ximcp:1.3 Thu Jun 2 22:41:26 2016
+++ src/external/mit/xorg/lib/libX11/Makefile.ximcp Mon Jun 13 20:03:07 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.ximcp,v 1.3 2016/06/02 22:41:26 mrg Exp $
+# $NetBSD: Makefile.ximcp,v 1.4 2016/06/13 20:03:07 ryoon Exp $
.PATH: ${X11SRCDIR.X11}/modules/im/ximcp
SRCS.ximcp= \
@@ -43,3 +43,4 @@ CPPFLAGS.imDefLkup.c= -Wno-error
CPPFLAGS.imRm.c= -Wno-error
CPPFLAGS.imTrans.c= -Wno-error
CPPFLAGS.imLcLkup.c= -Wno-stack-protector
+CPPFLAGS.imInsClbk.c= -Wno-unused-value
Index: src/sys/modules/ipl/Makefile
diff -u src/sys/modules/ipl/Makefile:1.1 src/sys/modules/ipl/Makefile:1.2
--- src/sys/modules/ipl/Makefile:1.1 Thu Jun 9 04:44:19 2016
+++ src/sys/modules/ipl/Makefile Mon Jun 13 20:03:07 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/06/09 04:44:19 pgoyette Exp $
+# $NetBSD: Makefile,v 1.2 2016/06/13 20:03:07 ryoon Exp $
#
.include "../Makefile.inc"
@@ -54,4 +54,6 @@ SRCS+= ip_sync.c
SRCS+= ip_fil_compat.c
SRCS+= radix_ipf.c
+CWARNFLAGS.clang+= -Wno-self-assign
+
.include <bsd.kmodule.mk>