mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-29 14:01:20 +00:00
25c084e0a7
As explained on https://sourceware.org/ml/libc-alpha/2020-01/msg00049.html the presence of __errno_location in libpthread.so on GNU/Linux makes libpthread getting linked in for libstdc++. This aligns on that behavior, to avoid issues that only GNU/Hurd would get.
12 lines
224 B
Makefile
12 lines
224 B
Makefile
ifeq ($(subdir),htl)
|
|
libpthread-sysdep_routines += errno-loc
|
|
endif
|
|
|
|
ifeq ($(subdir),rt)
|
|
librt-sysdep_routines += timer_routines
|
|
endif
|
|
|
|
ifeq ($(subdir),posix)
|
|
CFLAGS-confstr.c += -DLIBPTHREAD_VERSION='"HTL $(version)"'
|
|
endif
|