mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Build fix for 4.x: don't use pthreads
This commit is contained in:
parent
ca82e7631c
commit
7fb1f0eb81
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155609
@ -27,10 +27,12 @@ ALL_TARGET=
|
||||
MAN1= iozone.1
|
||||
PLIST_FILES= bin/iozone
|
||||
|
||||
OPTIONS= THREADS "Enable threading (uses pthreads)" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 500000
|
||||
OPTIONS= THREADS "Enable threading (uses pthreads)" on
|
||||
.endif
|
||||
|
||||
.if defined (WITH_THREADS)
|
||||
CFLAGS+= -pthread
|
||||
MAKE_ENV= LDFLAGS=-lpthread
|
||||
|
Loading…
Reference in New Issue
Block a user