diff options
author | Richard Levitte <levitte@openssl.org> | 2016-02-13 19:15:52 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-13 19:21:36 +0100 |
commit | de72be2e5784269088cc77479f41c8aeb82fcf6b (patch) | |
tree | dc143462d2820194072d54aee3a93052f18d1790 /crypto/chacha | |
parent | Reformat warn variables for easier editing. (diff) | |
download | openssl-de72be2e5784269088cc77479f41c8aeb82fcf6b.tar.xz openssl-de72be2e5784269088cc77479f41c8aeb82fcf6b.zip |
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/chacha')
-rw-r--r-- | crypto/chacha/build.info | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/chacha/build.info b/crypto/chacha/build.info index 3ae640fc22..f2db5f0201 100644 --- a/crypto/chacha/build.info +++ b/crypto/chacha/build.info @@ -5,12 +5,12 @@ BEGINRAW[Makefile(unix)] ##### CHACHA assembler implementations {- $builddir -}/chacha-x86.s: {- $sourcedir -}/asm/chacha-x86.pl - $(PERL) {- $sourcedir -}/asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ {- $builddir -}/chacha-x86_64.s: {- $sourcedir -}/asm/chacha-x86_64.pl - $(PERL) {- $sourcedir -}/asm/chacha-x86_64.pl $(PERLASM_SCHEME) > $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/asm/chacha-x86_64.pl $(PERLASM_SCHEME) > $@ {- $builddir -}/chacha-ppc.s: {- $sourcedir -}/asm/chacha-ppc.pl - $(PERL) {- $sourcedir -}/asm/chacha-ppc.pl $(PERLASM_SCHEME) $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/asm/chacha-ppc.pl $(PERLASM_SCHEME) $@ {- $builddir -}/chacha-%.S: {- $sourcedir -}/asm/chacha-%.pl - $(PERL) $< $(PERLASM_SCHEME) $@ + CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@ ENDRAW[Makefile(unix)] |