Make output from openssl version -f consistent with previous versions
authorMatt Caswell <matt@openssl.org>
Tue, 13 Jan 2015 10:20:12 +0000 (10:20 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 13 Jan 2015 11:29:11 +0000 (11:29 +0000)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(cherry picked from commit 2d2671790ee12dedd92c97f35b6feb755b8d4374)

crypto/Makefile
util/mk1mf.pl

index 2b6397a24b4dc8ede9623ebb3817db7cddedb26a..2355661f40fa31c286c304d227a6b4aa81728382 100644 (file)
@@ -55,7 +55,7 @@ top:
 all: shared
 
 buildinf.h: ../Makefile
-       $(PERL) $(TOP)/util/mkbuildinf.pl "$(CFLAGS)" "$(PLATFORM)" >buildinf.h
+       $(PERL) $(TOP)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" >buildinf.h
 
 x86cpuid.s:    x86cpuid.pl perlasm/x86asm.pl
        $(PERL) x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
index d3f5424ff30def9b4da0c2fcaae104c5615f0afa..550ef9f6853476ba527c180ab131f952eace0cdf 100755 (executable)
@@ -625,7 +625,7 @@ open (OUT,">>crypto/buildinf.h") || die "Can't open buildinf.h";
 printf OUT <<EOF;
 #ifdef $platform_cpp_symbol
   /* auto-generated/updated by util/mk1mf.pl for crypto/cversion.c */
-  #define CFLAGS "$cc $cflags"
+  #define CFLAGS "compiler: $cc $cflags"
   #define PLATFORM "$platform"
 EOF
 printf OUT "  #define DATE \"%s\"\n", scalar gmtime();