From: Ben Laurie Date: Wed, 27 Feb 2013 22:20:37 +0000 (+0000) Subject: Preserve the C compiler. X-Git-Tag: master-post-reformat~1409 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5108690f19165774e75a6779cb05e7da1e4cd4a7;p=oweals%2Fopenssl.git Preserve the C compiler. --- diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 1771e5a4ce..2ef5c775b3 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -44,6 +44,7 @@ my %mf_import = ( INSTALLTOP => \$INSTALLTOP, OPENSSLDIR => \$OPENSSLDIR, PLATFORM => \$mf_platform, + CC => \$mf_cc, CFLAG => \$mf_cflag, DEPFLAG => \$mf_depflag, CPUID_OBJ => \$mf_cpuid_asm, @@ -324,6 +325,7 @@ else print STDERR "platform = $orig_platform\n"; $cflags = $mf_cflag if $orig_platform eq 'auto'; +$cc = $mf_cc if $orig_platform eq 'auto'; $ex_libs="$l_flags$ex_libs" if ($l_flags ne "");