]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh
remove implicit --parallel setting by dh
[debhelper.git] / dh
diff --git a/dh b/dh
index cd2f9f0870598da3650df0b46241f483757bf88d..0ecfe442d5a9f5cbb4f0950c5ed30494fa677b78 100755 (executable)
--- a/dh
+++ b/dh
@@ -225,6 +225,13 @@ init(options => {
 });
 inhibit_log();
 
+# If make was using a jobserver, but it is not available, clean out
+# MAKEFLAGS so that further make invocations can start a new job
+# server. 
+if (is_make_jobserver_unavailable()) {
+       clean_jobserver_makeflags();
+}
+
 # Definitions of sequences.
 my %sequences;
 $sequences{build} = [qw{