mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-18 02:50:09 +00:00
04676765f4
SOURCE=-, append its symbol names to make variable unix-stub-syscalls. * sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls] (sysdep_routines): Add stub-syscalls. ($(objpfx)stub-syscalls.c): New target. (generated): Add stub-syscalls.c. * tls.make.c: Also define use-tls according to USE_TLS macro.
16 lines
241 B
C
16 lines
241 B
C
/* This produces a makefile fragment saying `use-thread = yes' or no. */
|
|
|
|
#include <tls.h>
|
|
|
|
#if USE_TLS
|
|
@@@ use-tls = yes @@@
|
|
#else
|
|
@@@ use-tls = no @@@
|
|
#endif
|
|
|
|
#if USE___THREAD
|
|
@@@ use-thread = yes @@@
|
|
#else
|
|
@@@ use-thread = no @@@
|
|
#endif
|