link does some weird things with clang thx to the pthread-stubs coming

from cairo/pixman-1 (doesn't work well with pthread-stubs)
Since this is scons, just link with -lpthread already, it's all compiled
-pthread anyway.
This commit is contained in:
espie 2017-04-28 13:17:21 +00:00
parent cd06dcca7e
commit 2ca34d5642

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2017/04/10 11:45:27 sthen Exp $
# $OpenBSD: Makefile,v 1.12 2017/04/28 13:17:21 espie Exp $
COMMENT = emulator for Nintendo Entertainment System
@ -31,7 +31,7 @@ MODULES = devel/scons \
MAKE_ENV = CC="${CC}" \
CXX="${CXX}" \
CXXFLAGS="${CXXFLAGS} -DIOAPI_NO_64" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -lpthread"
MODSCONS_FLAGS = SYSTEM_LUA=1
CONFIGURE_STYLE = scons
@ -54,6 +54,7 @@ do-install:
${MODSCONS_ENV} ${MODSCONS_FLAGS} \
--prefix=${PREFIX} ${INSTALL_TARGET}
#BROKEN = nojunk
# XXX scons picks up x264.h even though it's in an apparently unused ifdef block
DPB_PROPERTIES = nojunk