aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r--linuxthreads/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index c8da948..aad7106 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -41,6 +41,12 @@ tests = ex1 ex2 ex3 ex4 ex5 ex6
include ../Rules
+CFLAGS-mutex.c += -D__NO_WEAK_PTHREAD_ALIASES
+CFLAGS-specific.c += -D__NO_WEAK_PTHREAD_ALIASES
+CFLAGS-pthread.c += -D__NO_WEAK_PTHREAD_ALIASES
+CFLAGS-ptfork.c += -D__NO_WEAK_PTHREAD_ALIASES
+CFLAGS-cancel.c += -D__NO_WEAK_PTHREAD_ALIASES
+
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
# This ensures they will load libc.so for needed symbols if loaded by
# a statically-linked program that hasn't already loaded it.