building bug

Mike Frysinger vapier@gentoo.org
Mon Aug 8 06:21:00 GMT 2011


On Thursday, August 04, 2011 02:56:17 Mike Stump wrote:
> -             (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
> +             if (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); then \
> +               true; \
> +             else \
> +               exit 1; \
> +             fi; \

personally i'd use the oneliner:
             (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)) || exit $$?; \
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/newlib/attachments/20110808/093c93c5/attachment.sig>


More information about the Newlib mailing list