about summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-15 15:49:40 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-15 15:49:45 +0200
commit6014c65de2ac75ac4ef147754d80c7992f07ece8 (patch)
treefb1c32b9acf4a86ce341a0ce8eb5923de389d30f /Makeconfig
parentee72219a497b6317c49dc0a9a02308fe408c8c5e (diff)
downloadglibc-6014c65de2ac75ac4ef147754d80c7992f07ece8.tar.gz
glibc-6014c65de2ac75ac4ef147754d80c7992f07ece8.tar.xz
glibc-6014c65de2ac75ac4ef147754d80c7992f07ece8.zip
gmon: Add test for basic mcount/gprof functionality
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 80aed2a987..5f2469116c 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -465,7 +465,7 @@ else  # not build-pie-default
 +link-before-libc = $(CC) -nostdlib -nostartfiles -o $@ \
 	      $(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \
 	      $(combreloc-LDFLAGS) $(relro-LDFLAGS) $(hashstyle-LDFLAGS) \
-	      $(addprefix $(csu-objpfx),$(start-installed-name)) \
+	      $(firstword $(CRT-$(@F)) $(csu-objpfx)$(start-installed-name)) \
 	      $(+preinit) $(+prector) \
 	      $(filter-out $(addprefix $(csu-objpfx),start.o \
 						     $(start-installed-name))\