local-dynamic is enough

This commit is contained in:
Frank Denis 2019-01-06 05:04:34 +01:00
parent 79d6a211b2
commit 462e9a648b

View File

@ -338,8 +338,8 @@ AX_CHECK_CATCHABLE_ABRT
AS_IF([test "x$with_threads" = "xyes"], [ AS_IF([test "x$with_threads" = "xyes"], [
AX_TLS([AC_MSG_RESULT(thread local storage is supported) AX_TLS([AC_MSG_RESULT(thread local storage is supported)
AX_CHECK_COMPILE_FLAG([-ftls-model=global-dynamic], AX_CHECK_COMPILE_FLAG([-ftls-model=local-dynamic],
[CFLAGS="$CFLAGS -ftls-model=global-dynamic"])], [CFLAGS="$CFLAGS -ftls-model=local-dynamic"])],
[AC_MSG_RESULT(thread local storage is not supported)]) ]) [AC_MSG_RESULT(thread local storage is not supported)]) ])
LT_INIT LT_INIT