the patch:

Index: build.sh
===================================================================
RCS file: /cvsroot/src/build.sh,v
retrieving revision 1.327
diff -u -p -r1.327 build.sh
--- build.sh    2 May 2018 07:34:44 -0000       1.327
+++ build.sh    25 Jun 2018 18:26:34 -0000
@@ -1027,7 +1027,7 @@ usage()
        cat <<_usage_
 
 Usage: ${progname} [-EhnoPRrUuxy] [-a arch] [-B buildid] [-C cdextras]
-                [-D dest] [-j njob] [-M obj] [-m mach] [-N noisy]
+                [-D dest] [-j njob] [-k] [-M obj] [-m mach] [-N noisy]
                 [-O obj] [-R release] [-S seed] [-T tools]
                 [-V var=[value]] [-w wrapper] [-X x11src] [-Y extsrcsrc]
                 [-Z var]
@@ -1084,6 +1084,9 @@ Usage: ${progname} [-EhnoPRrUuxy] [-a ar
                    Should not be used without expert knowledge of the build 
system.
     -h             Print this help message.
     -j njob        Run up to njob jobs in parallel; see make(1) -j.
+    -k             Continue processing after errors are encountered, but only 
on
+                   those targets that do not depend on the target whose 
creation
+                   caused the error.
     -M obj         Set obj root directory to obj; sets MAKEOBJDIRPREFIX.
                    Unsets MAKEOBJDIR.
     -m mach        Set MACHINE to mach.  Some mach values are actually
@@ -1128,7 +1131,7 @@ _usage_
 
 parseoptions()
 {
-       opts='a:B:C:D:Ehj:M:m:N:nO:oPR:rS:T:UuV:w:X:xY:yZ:'
+       opts='a:B:C:D:Ehj:kM:m:N:nO:oPR:rS:T:UuV:w:X:xY:yZ:'
        opt_a=false
        opt_m=false
 
@@ -1188,6 +1191,10 @@ parseoptions()
                        parallel="-j ${OPTARG}"
                        ;;
 
+               -k)
+                       MAKEFLAGS="-k ${MAKEFLAGS}"
+                       ;;
+
                -M)
                        eval ${optargcmd}; resolvepath OPTARG
                        case "${OPTARG}" in

Attachment: signature.asc
Description: PGP signature

Reply via email to