summaryrefslogtreecommitdiff
path: root/nptl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile2
1 files changed, 2 insertions, 0 deletions
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