summaryrefslogtreecommitdiffstats
path: root/engines
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 /engines
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 'engines')
-rw-r--r--engines/build.info4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/build.info b/engines/build.info
index b5362ac9c5..e45650ca20 100644
--- a/engines/build.info
+++ b/engines/build.info
@@ -23,7 +23,7 @@ ENDIF
BEGINRAW[Makefile]
{- $builddir -}/e_padlock-x86.s: {- $sourcedir -}/asm/e_padlock-x86.pl
- $(PERL) {- $sourcedir -}/asm/e_padlock-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/e_padlock-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
{- $builddir -}/e_padlock-x86_64.s: {- $sourcedir -}/asm/e_padlock-x86_64.pl
- $(PERL) {- $sourcedir -}/asm/e_padlock-x86_64.pl $(PERLASM_SCHEME) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/e_padlock-x86_64.pl $(PERLASM_SCHEME) > $@
ENDRAW[Makefile]