This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]