We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d49c885 commit 77c8fecCopy full SHA for 77c8fec
Makefile
@@ -66,6 +66,7 @@ INSTALL_TARGETS := install-headers install-libs
66
ifeq ($(LIBPHOENIX_PIC), y)
67
CFLAGS += $(TARGET_PIC_FLAG)
68
ifeq ($(LIBPHOENIX_SHARED), y)
69
+CPPFLAGS += -DLIBPHOENIX_SHARED
70
include shared.mk
71
endif
72
errno/errno.c
@@ -19,6 +19,12 @@
19
#include <arch.h>
20
21
22
+#ifdef LIBPHOENIX_SHARED
23
+/* FIXME: TLS is not yet supported by dynamic linker. */
24
+#undef __LIBPHOENIX_ARCH_TLS_SUPPORTED
25
+#endif
26
+
27
28
#ifdef __LIBPHOENIX_ARCH_TLS_SUPPORTED
29
30
static __thread int __errno_tls;
0 commit comments