aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-12-19 10:55:54 +0000
committerMatt Caswell <matt@openssl.org>2014-12-19 14:02:15 +0000
commit488f16e31b8f5ec2513410929325d0830d76762d (patch)
tree35e4c59165bd00bdc762601b26c4d9f37066955f /crypto/Makefile
parentc0fc27f88ea0933a3e201325fc683b52fe55d848 (diff)
downloadopenssl-488f16e31b8f5ec2513410929325d0830d76762d.tar.gz
Fix a problem if CFLAGS is too long cversion.c fails to compile when config
is run with --strict-warnings. Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/Makefile')
-rw-r--r--crypto/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/Makefile b/crypto/Makefile
index 0029b1b5bd..d4c7712ffd 100644
--- a/crypto/Makefile
+++ b/crypto/Makefile
@@ -64,12 +64,7 @@ fips: cryptlib.o thr_id.o uid.o $(CPUID_OBJ)
done;
buildinf.h: ../Makefile
- ( echo "#ifndef MK1MF_BUILD"; \
- echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
- echo ' #define CFLAGS "$(CC) $(CFLAG)"'; \
- echo ' #define PLATFORM "$(PLATFORM)"'; \
- echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
- echo '#endif' ) >buildinf.h
+ $(PERL) $(TOP)/util/mkbuildinf.pl "$(CFLAGS)" "$(PLATFORM)" >buildinf.h
x86cpuid.s: x86cpuid.pl perlasm/x86asm.pl
$(PERL) x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@