Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/lib/pixman Turn off attribute warning erro...



details:   https://anonhg.NetBSD.org/src/rev/3fd9246330c2
branches:  trunk
changeset: 793216:3fd9246330c2
user:      riz <riz%NetBSD.org@localhost>
date:      Thu Jan 30 19:24:06 2014 +0000

description:
Turn off attribute warning errors for clang in
pixman-mmx.c (__artificial__).

diffstat:

 external/mit/xorg/lib/pixman/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 2dae60242fbf -r 3fd9246330c2 external/mit/xorg/lib/pixman/Makefile
--- a/external/mit/xorg/lib/pixman/Makefile     Thu Jan 30 19:11:54 2014 +0000
+++ b/external/mit/xorg/lib/pixman/Makefile     Thu Jan 30 19:24:06 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.26 2013/12/21 08:58:07 skrll Exp $
+#      $NetBSD: Makefile,v 1.27 2014/01/30 19:24:06 riz Exp $
 
 NOLINT=        1       # defined
 
@@ -48,6 +48,9 @@
 .if ${MACHINE_ARCH} == "i386"
 SRCS+= pixman-mmx.c
 COPTS.pixman-mmx.c=    -mmmx -fvisibility=hidden
+. if defined(HAVE_LLVM)
+COPTS.pixman-mmx.c+=   -Wno-error=attributes
+. endif
 MKDEPFLAGS+=           -mmmx -msse2 -fvisibility=hidden
 SRCS+= pixman-sse2.c
 COPTS.pixman-sse2.c=   -msse2 -fvisibility=hidden



Home | Main Index | Thread Index | Old Index