Allow cross compilation prefix to come from CROSS_COMPILE environment variable
authorDr. Stephen Henson <steve@openssl.org>
Wed, 7 Oct 2009 16:41:14 +0000 (16:41 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 7 Oct 2009 16:41:14 +0000 (16:41 +0000)
Configure

index 5cac797276a143d0419d52a4ab5525416ec8f575..8d488695c4aeb7326782d9aa2016b09dae3756ed 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -1047,6 +1047,8 @@ $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'};
+
 chop $openssldir if $openssldir =~ /\/$/;
 chop $prefix if $prefix =~ /.\/$/;