summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-09-20 10:18:19 +0200
committerAndy Polyakov <appro@openssl.org>2014-09-20 10:22:13 +0200
commitdfb5de6fc0ff040212deb687d01e2f216edd88df (patch)
treedca2c90ed307b4a54471e308ac1fdccd7ec88b6a /crypto/sha
parent5015a93dedd261c6be2cc8d12b4fa2c0d3eef65e (diff)
Harmonize Tru64 and Linux make rules.
RT: 3333,3165 Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit d475b2a3bfde8d4aceefb41b21acc3711893d2a8)
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/sha/Makefile b/crypto/sha/Makefile
index a7fac4683e..a8c0cf7850 100644
--- a/crypto/sha/Makefile
+++ b/crypto/sha/Makefile
@@ -60,9 +60,9 @@ sha256-armv4.S: asm/sha256-armv4.pl
$(PERL) $< $(PERLASM_SCHEME) $@
sha1-alpha.s: asm/sha1-alpha.pl
- (preproc=/tmp/$$$$.$@; trap "rm $$preproc" INT; \
+ (preproc=$$$$.$@.S; trap "rm $$preproc" INT; \
$(PERL) asm/sha1-alpha.pl > $$preproc && \
- $(CC) -E $$preproc > $@ && rm $$preproc)
+ $(CC) -E -P $$preproc > $@ && rm $$preproc)
# Solaris make has to be explicitly told
sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $(PERLASM_SCHEME) > $@