summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-03-22 01:52:10 +0000
committerPeter Powell <petpow@saberuk.com>2015-05-13 15:22:44 +0100
commit953ca72cfe7a9ff2bd6078b266b8e53336a62a62 (patch)
tree7c171357dc95a9f471de04a2b5292ff2ac853dee
parent70faab99c83a9ee13cdbe84118e391ed9d5f5a9f (diff)
unit-cc: Use the same preamble as other Perl tools.
-rwxr-xr-xmake/unit-cc.pl9
1 files changed, 7 insertions, 2 deletions
diff --git a/make/unit-cc.pl b/make/unit-cc.pl
index 66e9b15dc..3af620944 100755
--- a/make/unit-cc.pl
+++ b/make/unit-cc.pl
@@ -19,9 +19,14 @@
#
+BEGIN {
+ push @INC, $ENV{SOURCEPATH};
+ require 5.10.0;
+}
+
use strict;
-use warnings;
-BEGIN { push @INC, $ENV{SOURCEPATH}; }
+use warnings FATAL => qw(all);
+
use make::configure;
chdir $ENV{BUILDPATH};