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]

building bug


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.


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