diff --git a/config/inter/make.pm b/config/inter/make.pm index 2d315b9..996bd86 100644 --- a/config/inter/make.pm +++ b/config/inter/make.pm @@ -112,19 +112,10 @@ sub runstep { sub _set_make_c { my ($conf, $prog) = @_; if ( $conf->data->get('gmake_version') ) { - $conf->data->set( make_c => "$prog -C" ); + $conf->data->set( make_c => "+$prog -C" ); } else { - - # get the default value - my $make_c = $conf->data->get('make_c'); - - # TT #1049: this is an ugly hack - # replace the value for $(MAKE) with the actual path or we'll end up - # with a variable that recursively refers to itself - $make_c =~ s/\$\(MAKE\)/$prog/; - - $conf->data->set( make_c => $make_c ); + # The default value is fine. } }