diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/Makeconfig | 3 | ||||
-rw-r--r-- | sysdeps/mach/hurd/configure.in | 3 | ||||
-rw-r--r-- | sysdeps/pthread/Makeconfig | 2 | ||||
-rw-r--r-- | sysdeps/pthread/configure | 3 |
4 files changed, 5 insertions, 6 deletions
diff --git a/sysdeps/mach/hurd/Makeconfig b/sysdeps/mach/hurd/Makeconfig index 1b65bb07aa..fe3b7c553e 100644 --- a/sysdeps/mach/hurd/Makeconfig +++ b/sysdeps/mach/hurd/Makeconfig @@ -2,3 +2,6 @@ # See Makefile in this directory for the rule that builds this. # We must define this variable earlier than sysdeps Makefiles are included. static-start-installed-name = crt0.o + +# GNU libc on the Hurd is always reentrant. +libc-reentrant = yes diff --git a/sysdeps/mach/hurd/configure.in b/sysdeps/mach/hurd/configure.in index 6220142265..ad915a568b 100644 --- a/sysdeps/mach/hurd/configure.in +++ b/sysdeps/mach/hurd/configure.in @@ -1,8 +1,5 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. -# GNU libc on the Hurd is always reentrant. -DEFINES="$DEFINES -D_LIBC_REENTRANT" - dnl We need this setting because of the need for PLT calls in ld.so. AC_DEFINE([NO_HIDDEN]) diff --git a/sysdeps/pthread/Makeconfig b/sysdeps/pthread/Makeconfig new file mode 100644 index 0000000000..2b564eae5d --- /dev/null +++ b/sysdeps/pthread/Makeconfig @@ -0,0 +1,2 @@ +# Compile libc code to do internal locking. +libc-reentrant = yes diff --git a/sysdeps/pthread/configure b/sysdeps/pthread/configure deleted file mode 100644 index e39d31138d..0000000000 --- a/sysdeps/pthread/configure +++ /dev/null @@ -1,3 +0,0 @@ -# Local configure fragment for sysdeps/pthread. - -DEFINES="$DEFINES -D_LIBC_REENTRANT" |