Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/server/xorg-server/glamor Add -Wno-error=e...



details:   https://anonhg.NetBSD.org/src/rev/928a4518f81e
branches:  trunk
changeset: 817682:928a4518f81e
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Fri Sep 02 03:58:59 2016 +0000

description:
Add -Wno-error=enum-conversion when building glamor with clang.

diffstat:

 external/mit/xorg/server/xorg-server/glamor/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 6be50b3781d2 -r 928a4518f81e external/mit/xorg/server/xorg-server/glamor/Makefile
--- a/external/mit/xorg/server/xorg-server/glamor/Makefile      Fri Sep 02 03:49:55 2016 +0000
+++ b/external/mit/xorg/server/xorg-server/glamor/Makefile      Fri Sep 02 03:58:59 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2016/08/18 18:42:09 mrg Exp $
+#      $NetBSD: Makefile,v 1.3 2016/09/02 03:58:59 jakllsch Exp $
 
 .include "../Makefile.serverlib"
 .include "../Makefile.servermod"
@@ -52,5 +52,7 @@
                -I${X11SRCDIR.xorg-server}/../include
 CPPFLAGS+=      ${X11FLAGS.DIX}
 
+COPTS+=                ${${ACTIVE_CC} == "clang":? -Wno-error=enum-conversion :}
+
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index