mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 15:32:34 +02:00
doc: note why we can't use thread_local with glibc back compat
This commit is contained in:
parent
d65631171c
commit
20a30922fb
@ -861,6 +861,9 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([
|
|||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
dnl thread_local is currently disabled when building with glibc back compat.
|
||||||
|
dnl Our minimum supported glibc is 2.17, however support for thread_local
|
||||||
|
dnl did not arrive in glibc until 2.18.
|
||||||
if test "x$use_thread_local" = xyes || { test "x$use_thread_local" = xauto && test "x$use_glibc_compat" = xno; }; then
|
if test "x$use_thread_local" = xyes || { test "x$use_thread_local" = xauto && test "x$use_glibc_compat" = xno; }; then
|
||||||
TEMP_LDFLAGS="$LDFLAGS"
|
TEMP_LDFLAGS="$LDFLAGS"
|
||||||
LDFLAGS="$TEMP_LDFLAGS $PTHREAD_CFLAGS"
|
LDFLAGS="$TEMP_LDFLAGS $PTHREAD_CFLAGS"
|
||||||
|
Loading…
Reference in New Issue
Block a user