summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-10-15 23:45:22 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-10-15 23:45:22 +0000
commit08896dc0bde297cc54c9d62950c85949c327dd29 (patch)
tree1a57d7c9c0b07feec78bf40691067ad41d9cddd7 /Configure
parentef627997831fbc2e48b2f0ee178801d9108aa2ee (diff)
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 0c00d98aee..5d113ac7f1 100755
--- a/Configure
+++ b/Configure
@@ -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 =~ /.\/$/;