aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r--linuxthreads/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index f105bd6454..3d45b81f19 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -121,7 +121,7 @@ ifeq (yes,$(build-shared))
tests-nodelete-yes = unload
endif
-include ../Rules
+all: # Make this the default target; it will be defined in Rules.
# What we install as libpthread.so for programs to link against is in fact a
# link script. It contains references for the various libraries we need.
@@ -204,6 +204,8 @@ else
libc-link.so = $(common-objpfx)libc.so
endif
+include ../Rules
+
# 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.