diff options
author | Ben Laurie <ben@links.org> | 2013-02-27 22:20:37 +0000 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2013-03-04 14:31:18 +0000 |
commit | 5108690f19165774e75a6779cb05e7da1e4cd4a7 (patch) | |
tree | 5df899321c8ef14005ea28b1c8149fac6010489b | |
parent | 3c76bcded0f0ecdea81c5296a68aeecc873a673c (diff) |
Preserve the C compiler.
-rwxr-xr-x | util/mk1mf.pl | 2 |
1 files changed, 2 insertions, 0 deletions
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 ""); |