summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-15 23:44:11 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-10-15 23:44:11 +0000
commit9b1f24df3d2b18b679b2bc22284f34e88488c4ed (patch)
tree7fad884bf03c7bb636d10eca2e36f85e79f7b280 /Configure
parent595e804ae39ac4a4e5b923320f8203e29838b0d3 (diff)
downloadopenssl-new-9b1f24df3d2b18b679b2bc22284f34e88488c4ed.tar.gz
Fixes to CROSS_COMPILE, don't override command line option from environment
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index d46361e4d1..9489bc3742 100755
--- a/Configure
+++ b/Configure
@@ -1047,7 +1047,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 =~ /.\/$/;