summaryrefslogtreecommitdiffstats
path: root/crypto/md5
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-13 19:15:52 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-13 19:21:36 +0100
commitde72be2e5784269088cc77479f41c8aeb82fcf6b (patch)
treedc143462d2820194072d54aee3a93052f18d1790 /crypto/md5
parent8bccbce52ae9914306262284d245304bad402efc (diff)
Pass $(CC) to perlasm scripts via the environment
It seems that on some platforms, the perlasm scripts call the C compiler for certain checks. These scripts need the environment variable CC to have the C compiler command. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/md5')
-rw-r--r--crypto/md5/build.info6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/md5/build.info b/crypto/md5/build.info
index eff8c6f404..09f417c68f 100644
--- a/crypto/md5/build.info
+++ b/crypto/md5/build.info
@@ -4,15 +4,15 @@ SOURCE[../../libcrypto]=\
BEGINRAW[Makefile]
{- $builddir -}/md5-586.s: {- $sourcedir -}/asm/md5-586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl
- $(PERL) {- $sourcedir -}/asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
{- $builddir -}/md5-x86_64.s: {- $sourcedir -}/asm/md5-x86_64.pl
- $(PERL) {- $sourcedir -}/asm/md5-x86_64.pl $(PERLASM_SCHEME) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-x86_64.pl $(PERLASM_SCHEME) > $@
{- $builddir -}/md5-ia64.s: {- $sourcedir -}/asm/md5-ia64.S
$(CC) $(CFLAGS) -E {- $sourcedir -}/asm/md5-ia64.S | \
$(PERL) -ne 's/;\s+/;\n/g; print;' > $@
{- $builddir -}/md5-sparcv9.S: {- $sourcedir -}/asm/md5-sparcv9.pl
- $(PERL) {- $sourcedir -}/asm/md5-sparcv9.pl $@ $(CFLAGS)
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/md5-sparcv9.pl $@ $(CFLAGS)
ENDRAW[Makefile]