[PATCH] Fixes for make clean (take 2)

Andreas Jaeger aj@suse.de
Sat Jan 8 17:13:00 GMT 2005


Jakub Jelinek <jakub@redhat.com> writes:

> On Sat, Jan 08, 2005 at 05:49:23PM +0100, Andreas Jaeger wrote:
>> > This seems to work for me:
>> 
>> But why is it necessary?  Why are we using both
>> tests: $(objpfx)some-test.out
>> and
>> tests += other-test
>> 
>> Only the later should be needed AFAIK,
>
> tst-pie1 needs a special rule, because the general rule for building
> tests is unsuitable for building PIE binaries.

Yeah - a special rule not only for execution but also for building.
Now I see...

> If you have the special rule and tests += tst-pie1, then you get the
> make warnings about overriding targets.

Thanks,
Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20050108/304365e5/attachment.sig>


More information about the Libc-hacker mailing list