diff options
Diffstat (limited to 'make')
-rwxr-xr-x | make/unit-cc.pl | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/make/unit-cc.pl b/make/unit-cc.pl index 3af620944..cbe38521c 100755 --- a/make/unit-cc.pl +++ b/make/unit-cc.pl @@ -35,21 +35,7 @@ my $type = shift; my $out = shift; my $verbose = ($type =~ s/-v$//); -## BEGIN HACK: REMOVE IN 2.2! -sub read_config_cache { - my %cfg = (); - open(CACHE, '../.config.cache') or return %cfg; - while (my $line = <CACHE>) { - next if $line =~ /^\s*($|\#)/; - my ($key, $value) = ($line =~ /^(\S+)="(.*)"$/); - $cfg{$key} = $value; - } - close(CACHE); - return %cfg; -} - -our %config = read_config_cache(); -## END HACK +our %config = read_configure_cache(); if ($type eq 'gen-ld') { do_static_find(@ARGV); |