summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-10 19:09:05 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-10 19:36:48 +0100
commit076e596ffb75e69c9f1aad5e06cabdd37595d695 (patch)
tree21832ca37591b61990c29dc045bfc986d8092d7e /crypto
parent9ca2529dbf5210e1e0413095f47d4cd79966bc94 (diff)
Quote the CFLAG in Unixly Makefiles, for buildinf.h
Because the command line definitions of OPENSSLDIR and ENGINESDIR contain quotes, we need a variant of CFLAG where backslashes and quotes are escaped when we produce buildinf.h Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Makefile.in2
-rw-r--r--crypto/build.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/Makefile.in b/crypto/Makefile.in
index 4727e0aa75..69556f8720 100644
--- a/crypto/Makefile.in
+++ b/crypto/Makefile.in
@@ -58,7 +58,7 @@ fips: cryptlib.o thr_id.o uid.o $(CPUID_OBJ)
done;
buildinf.h: ../Makefile
- $(PERL) $(TOP)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" >buildinf.h
+ $(PERL) $(TOP)/util/mkbuildinf.pl "$(CC) $(CFLAGS_Q)" "$(PLATFORM)" >buildinf.h
x86cpuid.s: x86cpuid.pl perlasm/x86asm.pl
$(PERL) x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
diff --git a/crypto/build.info b/crypto/build.info
index b3591a0fb8..9d04ba8e0e 100644
--- a/crypto/build.info
+++ b/crypto/build.info
@@ -17,7 +17,7 @@ ENDRAW[descrip.mms]
BEGINRAW[Makefile]
crypto/buildinf.h : Makefile
- $(PERL) $(SRCDIR)/util/mkbuildinf.pl "$(CC) $(CFLAGS)" "$(PLATFORM)" > crypto/buildinf.h
+ $(PERL) $(SRCDIR)/util/mkbuildinf.pl "$(CC) $(CFLAGS_Q)" "$(PLATFORM)" > crypto/buildinf.h
##### APPLINK, UPLINK and CPUID assembler implementations