aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/modes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/modes/Makefile')
-rw-r--r--crypto/modes/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/modes/Makefile b/crypto/modes/Makefile
index c825b12f2585..3d8bafd5716c 100644
--- a/crypto/modes/Makefile
+++ b/crypto/modes/Makefile
@@ -53,7 +53,10 @@ ghash-x86_64.s: asm/ghash-x86_64.pl
ghash-sparcv9.s: asm/ghash-sparcv9.pl
$(PERL) asm/ghash-sparcv9.pl $@ $(CFLAGS)
ghash-alpha.s: asm/ghash-alpha.pl
- $(PERL) $< | $(CC) -E - | tee $@ > /dev/null
+ (preproc=/tmp/$$$$.$@; trap "rm $$preproc" INT; \
+ $(PERL) asm/ghash-alpha.pl > $$preproc && \
+ $(CC) -E $$preproc > $@ && rm $$preproc)
+
ghash-parisc.s: asm/ghash-parisc.pl
$(PERL) asm/ghash-parisc.pl $(PERLASM_SCHEME) $@