summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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};