From 4b3e466c8027989fc3b453bdd5a55b2ed42e9d43 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 22 Mar 2015 01:52:59 +0000 Subject: [PATCH] unit-cc: Remove workaround which existed for 2.0.x only. --- make/unit-cc.pl | 16 +--------------- 1 file changed, 1 insertion(+), 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 = ) { - 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); -- 2.39.5