summaryrefslogtreecommitdiffstats
path: root/crypto/rc4
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/rc4
parentReformat warn variables for easier editing. (diff)
downloadopenssl-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/rc4')
-rw-r--r--crypto/rc4/build.info12
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/rc4/build.info b/crypto/rc4/build.info
index f2c4e2a68b..ea83e368a8 100644
--- a/crypto/rc4/build.info
+++ b/crypto/rc4/build.info
@@ -4,18 +4,18 @@ SOURCE[../../libcrypto]=\
BEGINRAW[Makefile]
{- $builddir -}/rc4-586.s: {- $sourcedir -}/asm/rc4-586.pl {- $sourcetop -}/crypto/perlasm/x86asm.pl
- $(PERL) {- $sourcedir -}/asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
{- $builddir -}/rc4-x86_64.s: {- $sourcedir -}/asm/rc4-x86_64.pl
- $(PERL) {- $sourcedir -}/asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@
{- $builddir -}/rc4-md5-x86_64.s: {- $sourcedir -}/asm/rc4-md5-x86_64.pl
- $(PERL) {- $sourcedir -}/asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) > $@
{- $builddir -}/rc4-ia64.S: {- $sourcedir -}/asm/rc4-ia64.pl
- $(PERL) {- $sourcedir -}/asm/rc4-ia64.pl $(CFLAGS) > $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-ia64.pl $(CFLAGS) > $@
{- $builddir -}/rc4-parisc.s: {- $sourcedir -}/asm/rc4-parisc.pl
- $(PERL) {- $sourcedir -}/asm/rc4-parisc.pl $(PERLASM_SCHEME) $@
+ CC="$(CC)" $(PERL) {- $sourcedir -}/asm/rc4-parisc.pl $(PERLASM_SCHEME) $@
{- $builddir -}/rc4-ia64.s: rc4-ia64.S
@case `awk '/^#define RC4_INT/{print$$NF}' $(TOP)/include/openssl/opensslconf.h` in \
@@ -26,5 +26,5 @@ BEGINRAW[Makefile]
# GNU make "catch all"
{- $builddir -}/rc4-%.s: {- $sourcedir -}/asm/rc4-%.pl
- $(PERL) $< $(PERLASM_SCHEME) $@
+ CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@
ENDRAW[Makefile]