aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-12-07 04:33:36 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-12-07 04:33:36 +0800
commite9ef1e6af573aa00b7f50bea6910d966d8b14237 (patch)
tree6123454a912813703b488da283565e2d2154b51b /devel
parentfc7612b9096e28137adde3fa623c0bc37df37bd8 (diff)
downloadfreebsd-ports-gnome-e9ef1e6af573aa00b7f50bea6910d966d8b14237.tar.gz
freebsd-ports-gnome-e9ef1e6af573aa00b7f50bea6910d966d8b14237.tar.zst
freebsd-ports-gnome-e9ef1e6af573aa00b7f50bea6910d966d8b14237.zip
Fix build on powerpc64
PR: 233816 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
Diffstat (limited to 'devel')
-rw-r--r--devel/protobuf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/protobuf/Makefile b/devel/protobuf/Makefile
index c6b16b922eeb..bf11ea5968b9 100644
--- a/devel/protobuf/Makefile
+++ b/devel/protobuf/Makefile
@@ -20,7 +20,7 @@ TEST_DEPENDS= googlemock>=0:devel/googlemock \
USES= autoreconf compiler:c++11-lang gmake libtool localbase pathfix pkgconfig
-CFLAGS+= -DGOOGLE_PROTOBUF_NO_RTTI -I${WRKSRC}/src
+CFLAGS+= -D_THREAD_SAFE -DGOOGLE_PROTOBUF_NO_RTTI -I${WRKSRC}/src
CONFIGURE_ENV= CC_FOR_BUILD="${CC}" \
CFLAGS_FOR_BUILD="${CFLAGS}" \
CPPFLAGS_FOR_BUILD="${CPPFLAGS}" \