CROSS_COMPILE: don't override command line option from environment

This commit is contained in:
Dr. Stephen Henson 2009-10-15 23:45:22 +00:00
parent ef62799783
commit 08896dc0bd

View file

@ -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 =~ /.\/$/;