This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Test for profiling support (_mcount/gprof)
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Tue, 15 Aug 2017 14:28:58 +0200
- Subject: Re: [PATCH] Test for profiling support (_mcount/gprof)
- Authentication-results: sourceware.org; auth=none
- References: <4d15086e-9e54-014b-1a50-16534f287e24@redhat.com>
On Aug 15 2017, Florian Weimer <fweimer@redhat.com> wrote:
> diff --git a/Makeconfig b/Makeconfig
> index 80aed2a987..19b559701a 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))) \
$(or) is a 3.81 feature, we only require 3.79. You can use $(firstword)
instead. The lone $ looks like a typo.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."