summaryrefslogtreecommitdiff
path: root/lib/mesa
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2017-10-23 16:50:30 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2017-10-23 16:50:30 +0000
commitd50bf3f8e96b3556f4bd2f53359bd5a29a439575 (patch)
tree12835ed17bbe13fb4d0b1c534a25771df0433b72 /lib/mesa
parentfa0cc8380ada30004e6570e8ed2ddc62d9de3b5a (diff)
Remove all references to libpthread-stubs from xenocara.
"looks sane" guenther@.
Diffstat (limited to 'lib/mesa')
-rw-r--r--lib/mesa/Makefile.bsd-wrapper5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mesa/Makefile.bsd-wrapper b/lib/mesa/Makefile.bsd-wrapper
index 40a77fff7..dde75cbb9 100644
--- a/lib/mesa/Makefile.bsd-wrapper
+++ b/lib/mesa/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.13 2017/08/26 16:59:17 jsg Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.14 2017/10/23 16:50:29 matthieu Exp $
.include <bsd.own.mk>
@@ -35,6 +35,9 @@ CONFIGURE_ARGS= --with-dri-drivers=${DRI_DRIVERS} \
--with-dri-driverdir=${X11BASE}/lib/modules/dri \
--with-dri-searchpath=${X11BASE}/lib/modules/dri
+# cheat on configure - we don't need pthread-stubs anymore
+CONFIGURE_ARGS+= PTHREADSTUBS_CFLAGS=' ' PTHREADSTUBS_LIBS=' '
+
# The i965 driver uses the cmpxchg8b instruction
.if ${MACHINE} == i386
CONFIGURE_ARGS+= USER_CFLAGS="-march=i586" USER_CXXFLAGS="-march=i586"