summaryrefslogtreecommitdiff
path: root/sysdeps/arm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/arm/Makefile')
-rw-r--r--sysdeps/arm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/arm/Makefile b/sysdeps/arm/Makefile
index 17c129b2e1..2849aeda42 100644
--- a/sysdeps/arm/Makefile
+++ b/sysdeps/arm/Makefile
@@ -1,6 +1,11 @@
gnulib-arch = $(elf-objpfx)libgcc-stubs.a
static-gnulib-arch = $(elf-objpfx)libgcc-stubs.a
+# All supported build tools support TLS descriptors, but the OS may not.
+ifndef have-arm-tls-desc
+have-arm-tls-desc = yes
+endif
+
ifeq ($(subdir),elf)
sysdep-dl-routines += tlsdesc dl-tlsdesc
sysdep_routines += aeabi_unwind_cpp_pr1 find_exidx