Module Name:    src
Committed By:   riz
Date:           Thu Jan 30 19:24:06 UTC 2014

Modified Files:
        src/external/mit/xorg/lib/pixman: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/external/mit/xorg/lib/pixman/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/pixman/Makefile
diff -u src/external/mit/xorg/lib/pixman/Makefile:1.26 src/external/mit/xorg/lib/pixman/Makefile:1.27
--- src/external/mit/xorg/lib/pixman/Makefile:1.26	Sat Dec 21 08:58:07 2013
+++ src/external/mit/xorg/lib/pixman/Makefile	Thu Jan 30 19:24:06 2014
@@ -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 @@ SRCS+=					\
 .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

Reply via email to