From 1acbd4da02eb82a035c00a2f484364453469ff06 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 27 Jun 2019 15:16:39 -0700 Subject: Detect TLS support in compiler --- pkg/util-linux/config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkg/util-linux/config.h') diff --git a/pkg/util-linux/config.h b/pkg/util-linux/config.h index eb40fd42..9ef60753 100644 --- a/pkg/util-linux/config.h +++ b/pkg/util-linux/config.h @@ -200,7 +200,9 @@ #define HAVE_TERM_H 1 #define HAVE_TIMEGM 1 #define HAVE_TIMER_CREATE 1 -#define HAVE_TLS 1 +#ifdef HAVE__THREAD_LOCAL +# define HAVE_TLS 1 +#endif #define HAVE_TM_GMTOFF 1 #define HAVE_TM_ZONE 1 /* #undef HAVE_TZNAME */ -- cgit v1.2.3