Commit 08896dc0 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

CROSS_COMPILE: don't override command line option from environment

parent ef627997
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1101,7 +1101,7 @@ $default_ranlib= &which("ranlib") or $default_ranlib="true";
$perl=$ENV{'PERL'} or $perl=&which("perl5") or $perl=&which("perl")
  or $perl="perl";

$cross_compile_prefix=$ENV{'CROSS_COMPILE'};
$cross_compile_prefix=$ENV{'CROSS_COMPILE'} if $cross_compile_prefix eq "";

chop $openssldir if $openssldir =~ /\/$/;
chop $prefix if $prefix =~ /.\/$/;