On 1/3/08, Roy Marples <[EMAIL PROTECTED]> wrote: > On Thu, 2008-01-03 at 10:58 +0200, Alon Bar-Lev wrote: > > At: default.mk, the _SUBDIR loop is somehow incorrect, as it will not > > pass subdir make result to rule. > > So if rule fails the build still considered a success. > > > > make[1]: *** [start-stop-daemon.o] Error 1 > > make[1]: *** Waiting for unfinished jobs.... > > make[1]: Leaving directory > > `/var/tmp/portage/sys-apps/openrc-9999/work/openrc-9999/src' > > >>> Source compiled. > > What version of gnu make? > What MAKEOPTS do you have set? > Does it work outside of the ebuild?
I use sys-devel/make-3.81 With MAKEOPTS="-j2" I think the issue is that the for loop returns true... Take the following example: all: @for a in a b c; do \ echo $$a; \ if [ $$a == b ]; then \ echo FAIL; \ false; \ fi; \ done And the output is: $ make a b FAIL c And success! Alon. -- [EMAIL PROTECTED] mailing list