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/build.info | |
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/build.info')
-rw-r--r-- | crypto/build.info | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crypto/build.info b/crypto/build.info index 9d04ba8e0e..736079c296 100644 --- a/crypto/build.info +++ b/crypto/build.info @@ -28,25 +28,25 @@ crypto/buildinf.h : Makefile $(CC) $(CFLAGS) -c -o $@ $(TOP)/ms/uplink.c {- $builddir -}/uplink-x86.s: $(SRCDIR)/ms/uplink-x86.pl - $(PERL) $(TOP)/ms/uplink-x86.pl $(PERLASM_SCHEME) > $@ + CC="$(CC)" $(PERL) $(TOP)/ms/uplink-x86.pl $(PERLASM_SCHEME) > $@ {- $builddir -}/x86cpuid.s: {- $sourcedir -}/x86cpuid.pl {- $sourcedir -}/perlasm/x86asm.pl - $(PERL) {- $sourcedir -}/x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@ {- $builddir -}/x86_64cpuid.s: {- $sourcedir -}/x86_64cpuid.pl - $(PERL) {- $sourcedir -}/x86_64cpuid.pl $(PERLASM_SCHEME) > $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/x86_64cpuid.pl $(PERLASM_SCHEME) > $@ {- $builddir -}/ia64cpuid.s: {- $sourcedir -}/ia64cpuid.S $(CC) $(CFLAGS) -E {- $sourcedir -}/ia64cpuid.S > $@ {- $builddir -}/ppccpuid.s: {- $sourcedir -}/ppccpuid.pl - $(PERL) {- $sourcedir -}/ppccpuid.pl $(PERLASM_SCHEME) $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/ppccpuid.pl $(PERLASM_SCHEME) $@ {- $builddir -}/pariscid.s: {- $sourcedir -}/pariscid.pl - $(PERL) {- $sourcedir -}/pariscid.pl $(PERLASM_SCHEME) $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/pariscid.pl $(PERLASM_SCHEME) $@ {- $builddir -}/alphacpuid.s: {- $sourcedir -}/alphacpuid.pl (preproc=$$$$.$@.S; trap "rm $$preproc" INT; \ - $(PERL) {- $sourcedir -}/alphacpuid.pl > $$preproc && \ + CC="$(CC)" $(PERL) {- $sourcedir -}/alphacpuid.pl > $$preproc && \ $(CC) -E -P $$preproc > $@ && rm $$preproc) {- $builddir -}/arm64cpuid.S: {- $sourcedir -}/arm64cpuid.pl - $(PERL) {- $sourcedir -}/arm64cpuid.pl $(PERLASM_SCHEME) > $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/arm64cpuid.pl $(PERLASM_SCHEME) > $@ {- $builddir -}/armv4cpuid.S: {- $sourcedir -}/armv4cpuid.pl - $(PERL) {- $sourcedir -}/armv4cpuid.pl $(PERLASM_SCHEME) > $@ + CC="$(CC)" $(PERL) {- $sourcedir -}/armv4cpuid.pl $(PERLASM_SCHEME) > $@ ENDRAW[Makefile] |