summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-02-08 11:40:39 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2012-02-08 16:16:42 +0100
commit2832840339c561d42ec60e18c009376d828692ea (patch)
tree247d773fde423e14894b45911f8050443a5aa31f
parente65f4356583fc4cc2c54b497d2bbda699f5826da (diff)
downloadglibc-2832840339c561d42ec60e18c009376d828692ea.tar.gz
Add missing dependency for pt-crti.o
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/Makefile2
2 files changed, 6 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 8ff14a9f23..fa844a44ee 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
+
+ * Makefile (extra-objs) [crti.S in sysdirs]: Add pt-crti.o.
+
2012-02-08 Joseph Myers <joseph@codesourcery.com>
Support crti.S and crtn.S provided directly by architectures.
diff --git a/nptl/Makefile b/nptl/Makefile
index 81661b3133..855f8f5ef2 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -350,6 +350,8 @@ ifeq (,$(wildcard $(sysdirs:%=%/crti.S)))
omit-deps += crti crtn
CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
+else
+extra-objs += pt-crti.o
endif
endif