de72be2e57
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>
16 lines
730 B
Text
16 lines
730 B
Text
LIBS=../../libcrypto
|
|
SOURCE[../../libcrypto]={- $target{chacha_asm_src} -}
|
|
|
|
BEGINRAW[Makefile(unix)]
|
|
##### CHACHA assembler implementations
|
|
|
|
{- $builddir -}/chacha-x86.s: {- $sourcedir -}/asm/chacha-x86.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/chacha-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
|
|
{- $builddir -}/chacha-x86_64.s: {- $sourcedir -}/asm/chacha-x86_64.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/chacha-x86_64.pl $(PERLASM_SCHEME) > $@
|
|
{- $builddir -}/chacha-ppc.s: {- $sourcedir -}/asm/chacha-ppc.pl
|
|
CC="$(CC)" $(PERL) {- $sourcedir -}/asm/chacha-ppc.pl $(PERLASM_SCHEME) $@
|
|
|
|
{- $builddir -}/chacha-%.S: {- $sourcedir -}/asm/chacha-%.pl
|
|
CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
|
|
ENDRAW[Makefile(unix)]
|