Build fix for 4.x: don't use pthreads
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user