aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-21 00:15:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-21 00:15:14 +0000
commit0fb7851fce038b80be60eae2d66d60f337a60e14 (patch)
treeab7595811bd0e5b1d1c7160629dad013f4f23f8a /linuxthreads/Makefile
parentbf8b3e74bfdc50935445c324f8dc03025a6f2419 (diff)
downloadglibc-0fb7851fce038b80be60eae2d66d60f337a60e14.tar
glibc-0fb7851fce038b80be60eae2d66d60f337a60e14.tar.gz
glibc-0fb7851fce038b80be60eae2d66d60f337a60e14.tar.bz2
glibc-0fb7851fce038b80be60eae2d66d60f337a60e14.zip
Update.
* elf/Makefile (tests): Add $(tests-nodelete-$(have-z-nodelete)). (tests-nodelete-yes): Define. (modules-names): Add $(modules-nodelete-$(have-z-nodelete)). Add rules to build nodelete and modules. * elf/nodelete.c: New file. * elf/nodelmod1.c: New file. * elf/nodelmod2.c: New file. * configure.in: Add test for -z nodelete option. * config.make.in: Define have-z-nodelete with libc_cv_z_nodelete.
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r--linuxthreads/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index 0bdaaf291c..84fbbd844b 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -37,6 +37,9 @@ libpthread-routines := attr cancel condvar join manager mutex ptfork \
semaphore spinlock wrapsyscall rwlock pt-machine \
oldsemaphore events getcpuclockid pspinlock barrier
+nodelete-yes = -Wl,--enable-new-dtags,-z,nodelete
+LDFLAGS-pthread.so = $(nodelete-$(have-z-nodelete))
+
vpath %.c Examples
tests = ex1 ex2 ex3 ex4 ex5 ex6 ex7 ex8 ex9 ex10 ex11 joinrace