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


Patch applied. I had trouble applying for some reason so I did it by hand.

-- Jeff J.

On 08/04/2011 02:56 AM, Mike Stump wrote:
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]