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:27:36 +0000 (11:27 +0000)
Reviewed-by: Andy Polyakov <appro@openssl.org>
crypto/Makefile
util/mk1mf.pl

index 5e6a0c332979f899c6c962e639c7009a8e4a00e6..10782404dad5b6ab4273774ab7c8b84464bccfcf 100644 (file)
@@ -64,7 +64,7 @@ fips: cryptlib.o thr_id.o uid.o $(CPUID_OBJ)
                done;
 
 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 e3d6c30de311bc937a5ee16a2bbd5379f49e5b28..f3f5d68fa3ff54d55a621a8a7bb875731c6598e2 100755 (executable)
@@ -836,7 +836,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();