summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-13 10:20:12 +0000
committerMatt Caswell <matt@openssl.org>2015-01-13 11:29:21 +0000
commit36f309c50a4188edad08bc69420bd7a2d3d383e5 (patch)
tree3835a47b15188aa9700c04ad3ffb1fe952d02a24
parent94e5cf36bd0a9805a6fd0433a6fd8167467c7f3b (diff)
Make output from openssl version -f consistent with previous versions
Reviewed-by: Andy Polyakov <appro@openssl.org> (cherry picked from commit 2d2671790ee12dedd92c97f35b6feb755b8d4374)
-rw-r--r--crypto/Makefile2
-rwxr-xr-xutil/mk1mf.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 70e3b84edd..d6bc8e43cb 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -53,7 +53,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) > $@
diff --git a/util/mk1mf.pl b/util/mk1mf.pl
index ecba6a2b58..dea5da767e 100755
--- a/util/mk1mf.pl
+++ b/util/mk1mf.pl
@@ -598,7 +598,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();