This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [patch v1] nptl: smarter not-parallel-ing
- From: DJ Delorie <dj at redhat dot com>
- To: Florian Weimer <fw at deneb dot enyo dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 14 Aug 2019 01:24:16 -0400
- Subject: Re: [patch v1] nptl: smarter not-parallel-ing
Florian Weimer <fw@deneb.enyo.de> writes:
>> $(objpfx)tst-cleanup0-cmp.out: tst-cleanup0.expect $(objpfx)tst-cleanup0.out
>> - cmp $^ > $@; \
>> + cmp tst-cleanup0.expect $(objpfx)tst-cleanup0.out > $@; \
>> $(evaluate-test)
>
> Why is this needed if | prerequisites are not listed in $^?
Here $^ expands to "" because $(objpfx)tst-cleanup0.out is *also* listed
in :|
Yes, it seems like a bug (or misdesign) to me, but that's how make works.
> I would have used different variable names (lowercase, perhaps with an
> nptl- prefix), but that's just a detail.
Easily changeable.