This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: building bug


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

Attachment: signature.asc
Description: This is a digitally signed message part.


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