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:28:54 +0000 (11:28 +0000)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(cherry picked from commit 2d2671790ee12dedd92c97f35b6feb755b8d4374)

crypto/Makefile
util/mk1mf.pl

index 1969fc3b9a2e09c9c3b26ffeba68a96cc1b30ba1..9a39e934ad5c8e26601188087bdd649d599c994a 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 905d1db565d8241331ed5b90c79800bd7d5f9311..7d4491faeb6603d74c7557f29d77783b143bc368 100755 (executable)
@@ -665,7 +665,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();