No need to override PTHREADSTUBS_CFLAGS/PTHREADSTUBS_LIBS anymore

as the configure scripts have been changed to avoid pthread-stubs.
This commit is contained in:
jsg 2018-02-21 06:01:53 +00:00
parent 494810fbed
commit ff54d44d65
2 changed files with 2 additions and 7 deletions

View File

@ -1,7 +1,5 @@
# $OpenBSD: Makefile.bsd-wrapper,v 1.14 2018/02/17 02:31:15 jsg Exp $ # $OpenBSD: Makefile.bsd-wrapper,v 1.15 2018/02/21 06:01:53 jsg Exp $
# cheat on configure - we don't need pthread-stubs anymore
CONFIGURE_ARGS= PTHREADSTUBS_CFLAGS=' ' PTHREADSTUBS_LIBS=' '
SHARED_LIBS= drm 7.6 drm_radeon 4.0 drm_intel 5.4 \ SHARED_LIBS= drm 7.6 drm_radeon 4.0 drm_intel 5.4 \
drm_amdgpu 1.5 drm_nouveau 3.0 drm_amdgpu 1.5 drm_nouveau 3.0

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.bsd-wrapper,v 1.16 2018/01/08 05:41:20 jsg Exp $ # $OpenBSD: Makefile.bsd-wrapper,v 1.17 2018/02/21 06:01:53 jsg Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -35,9 +35,6 @@ CONFIGURE_ARGS= --with-dri-drivers=${DRI_DRIVERS} \
--with-dri-driverdir=${X11BASE}/lib/modules/dri \ --with-dri-driverdir=${X11BASE}/lib/modules/dri \
--with-dri-searchpath=${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 # The i965 driver uses the cmpxchg8b instruction
.if ${MACHINE} == i386 .if ${MACHINE} == i386
CONFIGURE_ARGS+= USER_CFLAGS="-march=i586" USER_CXXFLAGS="-march=i586" CONFIGURE_ARGS+= USER_CFLAGS="-march=i586" USER_CXXFLAGS="-march=i586"