aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-02-25 00:54:34 +0800
committerache <ache@FreeBSD.org>2002-02-25 00:54:34 +0800
commit3a437e285e2589901af4810912d84f04acf26989 (patch)
treee9deb4e3cbd7334919847c3e6ba79c097d3c98ec /Mk/bsd.port.mk
parent83eb01ab2ee78495cca35443279d10070b10cecb (diff)
downloadfreebsd-ports-gnome-3a437e285e2589901af4810912d84f04acf26989.tar.gz
freebsd-ports-gnome-3a437e285e2589901af4810912d84f04acf26989.tar.zst
freebsd-ports-gnome-3a437e285e2589901af4810912d84f04acf26989.zip
Add -D_THREAD_SAFE for -current too
Approved by: portmgr & ports silence
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index af1a3fcd38fb..6577bf60af58 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1071,7 +1071,7 @@ MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} MOTIFLIB=
PTHREAD_CFLAGS= -D_THREAD_SAFE
PTHREAD_LIBS= "-pthread"
.else
-PTHREAD_CFLAGS= ""
+PTHREAD_CFLAGS= -D_THREAD_SAFE
PTHREAD_LIBS= "-lc_r"
.endif