From de72be2e5784269088cc77479f41c8aeb82fcf6b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 13 Feb 2016 19:15:52 +0100 Subject: 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 --- crypto/chacha/build.info | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crypto/chacha') 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)] -- cgit v1.2.3