summaryrefslogtreecommitdiffstats
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 88ac65e4b1..ce0dcd6a9b 100644
--- a/crypto/modes/Makefile
+++ b/crypto/modes/Makefile
@@ -55,7 +55,10 @@ aesni-gcm-x86_64.s: asm/aesni-gcm-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) $@