diff options
| -rw-r--r-- | www/nghttp2/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile index b5ab1175d70f..478345a4f399 100644 --- a/www/nghttp2/Makefile +++ b/www/nghttp2/Makefile @@ -59,6 +59,13 @@ SPDY_LIB_DEPENDS= libspdylay.so:www/spdylay CPPFLAGS+= -D_GLIBCXX_USE_C99 .endif +# Disable thread_local support for hosts without __cxa_thread_atexit() +# See PR/192320 for details +.if (${OSVERSION} < 1003506) || ((${OSVERSION} >= 1100000) && (${OSVERSION} < 1100122)) || (${OSVERSION} == 1100500) +post-configure: + @${REINPLACE_CMD} -e '/HAVE_THREAD_LOCAL/d' ${WRKSRC}/config.h +.endif + .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 CONFIGURE_ARGS+=--with-jemalloc .endif |
