aboutsummaryrefslogtreecommitdiff
path: root/crypto/ec/build.info
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/ec/build.info
parent8bccbce52ae9914306262284d245304bad402efc (diff)
downloadopenssl-de72be2e5784269088cc77479f41c8aeb82fcf6b.zip
openssl-de72be2e5784269088cc77479f41c8aeb82fcf6b.tar.gz
openssl-de72be2e5784269088cc77479f41c8aeb82fcf6b.tar.bz2
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/ec/build.info')
-rw-r--r--crypto/ec/build.info10
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/ec/build.info b/crypto/ec/build.info
index 8ba6db0..63ad9a4 100644
--- a/crypto/ec/build.info
+++ b/crypto/ec/build.info
@@ -9,17 +9,17 @@ SOURCE[../../libcrypto]=\
BEGINRAW[Makefile]
{- $builddir -}/ecp_nistz256-x86.s: {- $sourcedir -}/asm/ecp_nistz256-x86.pl
- $(PERL) {- $sourcedir -}/asm/ecp_nistz256-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ecp_nistz256-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
{- $builddir -}/ecp_nistz256-x86_64.s: {- $sourcedir -}/asm/ecp_nistz256-x86_64.pl
- $(PERL) {- $sourcedir -}/asm/ecp_nistz256-x86_64.pl $(PERLASM_SCHEME) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ecp_nistz256-x86_64.pl $(PERLASM_SCHEME) > $@
{- $builddir -}/ecp_nistz256-avx2.s: {- $sourcedir -}/asm/ecp_nistz256-avx2.pl
- $(PERL) {- $sourcedir -}/asm/ecp_nistz256-avx2.pl $(PERLASM_SCHEME) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ecp_nistz256-avx2.pl $(PERLASM_SCHEME) > $@
{- $builddir -}/ecp_nistz256-sparcv9.S: {- $sourcedir -}/asm/ecp_nistz256-sparcv9.pl
- $(PERL) {- $sourcedir -}/asm/ecp_nistz256-sparcv9.pl $(CFLAGS) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ecp_nistz256-sparcv9.pl $(CFLAGS) > $@
{- $builddir -}/ecp_nistz256-%.S: {- $sourcedir -}/asm/ecp_nistz256-%.pl
- $(PERL) $< $(PERLASM_SCHEME) $@
+ CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
ENDRAW[Makefile]