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/poly1305/build.info | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crypto/poly1305') diff --git a/crypto/poly1305/build.info b/crypto/poly1305/build.info index 07a63d9b11..5d389dc492 100644 --- a/crypto/poly1305/build.info +++ b/crypto/poly1305/build.info @@ -4,16 +4,16 @@ SOURCE[../../libcrypto]=\ BEGINRAW[Makefile(unix)] {- $builddir -}/poly1305-sparcv9.S: {- $sourcedir -}/asm/poly1305-sparcv9.pl - $(PERL) {- $sourcedir -}/asm/poly1305-sparcv9.pl > $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/asm/poly1305-sparcv9.pl > $@ {- $builddir -}/poly1305-x86.s: {- $sourcedir -}/asm/poly1305-x86.pl - $(PERL) {- $sourcedir -}/asm/poly1305-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/asm/poly1305-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ {- $builddir -}/poly1305-x86_64.s: {- $sourcedir -}/asm/poly1305-x86_64.pl - $(PERL) {- $sourcedir -}/asm/poly1305-x86_64.pl $(PERLASM_SCHEME) > $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/asm/poly1305-x86_64.pl $(PERLASM_SCHEME) > $@ {- $builddir -}/poly1305-ppc.s: {- $sourcedir -}/asm/poly1305-ppc.pl - $(PERL) {- $sourcedir -}/asm/poly1305-ppc.pl $(PERLASM_SCHEME) $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/asm/poly1305-ppc.pl $(PERLASM_SCHEME) $@ {- $builddir -}/poly1305-ppcfp.s: {- $sourcedir -}/asm/poly1305-ppcfp.pl - $(PERL) {- $sourcedir -}/asm/poly1305-ppcfp.pl $(PERLASM_SCHEME) $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/asm/poly1305-ppcfp.pl $(PERLASM_SCHEME) $@ {- $builddir -}/poly1305-%.S: {- $sourcedir -}/asm/poly1305-%.pl - $(PERL) $< $(PERLASM_SCHEME) $@ + CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@ ENDRAW[Makefile(unix)] -- cgit v1.2.3