aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/bn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/Makefile')
-rw-r--r--crypto/bn/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bn/Makefile b/crypto/bn/Makefile
index 672773454cfd..6dd136be5d6b 100644
--- a/crypto/bn/Makefile
+++ b/crypto/bn/Makefile
@@ -125,7 +125,9 @@ ppc-mont.s: asm/ppc-mont.pl;$(PERL) asm/ppc-mont.pl $(PERLASM_SCHEME) $@
ppc64-mont.s: asm/ppc64-mont.pl;$(PERL) asm/ppc64-mont.pl $(PERLASM_SCHEME) $@
alpha-mont.s: asm/alpha-mont.pl
- $(PERL) $< | $(CC) -E - | tee $@ > /dev/null
+ (preproc=/tmp/$$$$.$@; trap "rm $$preproc" INT; \
+ $(PERL) asm/alpha-mont.pl > $$preproc && \
+ $(CC) -E $$preproc > $@ && rm $$preproc)
# GNU make "catch all"
%-mont.s: asm/%-mont.pl; $(PERL) $< $(PERLASM_SCHEME) $@