summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-03-22 01:52:59 +0000
committerPeter Powell <petpow@saberuk.com>2015-05-13 15:22:44 +0100
commit4b3e466c8027989fc3b453bdd5a55b2ed42e9d43 (patch)
tree6739390fea5f6e9f24b207f97fda572074464084
parent953ca72cfe7a9ff2bd6078b266b8e53336a62a62 (diff)
unit-cc: Remove workaround which existed for 2.0.x only.
-rwxr-xr-xmake/unit-cc.pl16
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);