From 462e9a648be4e25961b586e79df0b9a8d24a7e9a Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 6 Jan 2019 05:04:34 +0100 Subject: [PATCH] local-dynamic is enough --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 9f0f4b67..6d7c6ea4 100644 --- a/configure.ac +++ b/configure.ac @@ -338,8 +338,8 @@ AX_CHECK_CATCHABLE_ABRT AS_IF([test "x$with_threads" = "xyes"], [ AX_TLS([AC_MSG_RESULT(thread local storage is supported) - AX_CHECK_COMPILE_FLAG([-ftls-model=global-dynamic], - [CFLAGS="$CFLAGS -ftls-model=global-dynamic"])], + AX_CHECK_COMPILE_FLAG([-ftls-model=local-dynamic], + [CFLAGS="$CFLAGS -ftls-model=local-dynamic"])], [AC_MSG_RESULT(thread local storage is not supported)]) ]) LT_INIT