diff --git a/solenv/bin/build.pl b/solenv/bin/build.pl index e549b7dff34c..bb37e1135542 100755 --- a/solenv/bin/build.pl +++ b/solenv/bin/build.pl @@ -787,10 +787,8 @@ sub dmake_dir { my $real_exit_code = $error_code >> 8; if (($real_exit_code == 255) && ($ENV{nodep} eq '') && ($ENV{depend} eq '')) { print "Forcing regeneration of dependency info\n"; - $ENV{depend} = 't'; - run_job($dmake, $job_name); + run_job($dmake, 'depend=t', $job_name); print "Retrying $job_name\n"; - $ENV{depend} = ''; $error_code = run_job($dmake, $job_name); }