aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-15 13:44:56 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-15 13:44:56 +0200
commit06ad2699b0f27f901def236813eccb9b4d0f8ccd (patch)
treeaec3ba739acab8a77029d3021483563a61c8385d /Makeconfig
parent54d68f5f61fc016b18101a822f9343a612ad1bc0 (diff)
downloadglibc-06ad2699b0f27f901def236813eccb9b4d0f8ccd.zip
glibc-06ad2699b0f27f901def236813eccb9b4d0f8ccd.tar.gz
glibc-06ad2699b0f27f901def236813eccb9b4d0f8ccd.tar.bz2
gmon: Add test for basic mcount/gprof functionalityfw/tst-gmon
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 80aed2a..19b5597 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -465,7 +465,8 @@ 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)) \
+ $(or $(CRT-$(@F)), $ \
+ $(addprefix $(csu-objpfx),$(start-installed-name))) \
$(+preinit) $(+prector) \
$(filter-out $(addprefix $(csu-objpfx),start.o \
$(start-installed-name))\