I need:
Index: newlib/libgloss/Makefile.in
===================================================================
--- newlib/libgloss/Makefile.in (revision 1609)
+++ newlib/libgloss/Makefile.in (working copy)
@@ -104,7 +104,11 @@ stmp-bsp: force
for dir in .. ${SUBDIRS}; do \
if [ x$$dir != x.. ]; then \
if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); \
+ if (cd $$dir; $(MAKE) $(FLAGS_TO_PASS)); then \
+ true; \
+ else \
+ exit 1; \
+ fi; \
else true; fi; \
else true; fi; \
done
@@ -115,7 +119,11 @@ install: force
for dir in .. ${SUBDIRS}; do \
if [ x$$dir != x.. ]; then \
if [ -d $$dir ]; then \
- (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); \
+ if (cd $$dir; $(MAKE) $(FLAGS_TO_PASS) install); then \
+ true; \
+ else \
+ exit 1; \
+ fi; \
else true; fi; \
else true; fi; \
done
to ensure that build errors actually stop the build. Thanks.