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 Remove PIXMAN_NO_TLS and replac...
details: https://anonhg.NetBSD.org/src/rev/8d3aae45def9
branches: trunk
changeset: 784534:8d3aae45def9
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Jan 31 12:21:12 2013 +0000
description:
Remove PIXMAN_NO_TLS and replace with HAVE_PTHREAD_SETSPECIFIC so the
installed library is actually thread-safe.
diffstat:
external/mit/xorg/lib/pixman/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r 150b285cf754 -r 8d3aae45def9 external/mit/xorg/lib/pixman/Makefile
--- a/external/mit/xorg/lib/pixman/Makefile Thu Jan 31 11:57:07 2013 +0000
+++ b/external/mit/xorg/lib/pixman/Makefile Thu Jan 31 12:21:12 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2013/01/31 10:58:22 jmcneill Exp $
+# $NetBSD: Makefile,v 1.16 2013/01/31 12:21:12 jmcneill Exp $
NOLINT= 1 # defined
@@ -85,8 +85,9 @@
-I${X11SRCDIR.pixman}/../combine \
-I${X11SRCDIR.pixman}/pixman
-# XXX! wants __thread
-CPPFLAGS+= -DPIXMAN_NO_TLS
+# With pixman 0.28.3, HAVE_PTHREAD_SETSPECIFIC is much faster than TLS
+CPPFLAGS+= -DHAVE_PTHREAD_SETSPECIFIC
+#CPPFLAGS+= -DTLS=__thread
LIBDPLIBS= m ${.CURDIR}/../../../../../lib/libm
Home |
Main Index |
Thread Index |
Old Index