summaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-11-12 21:49:15 +0100
committerAndy Polyakov <appro@openssl.org>2013-11-12 21:53:39 +0100
commitca44f72938c7c1394472ff26bf7613085102effb (patch)
tree1748a52199d7ffe50a45ab8326a60d9c7e387943 /crypto/bn
parent18f49508a5d45fecd261f523210140eeb2a77f27 (diff)
Make Makefiles OSF-make-friendly.
PR: 3165 (cherry picked from commit d1cf23ac86c05b22b8780e2c03b67230564d2d34)
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/bn/Makefile b/crypto/bn/Makefile
index f7eabdea58..265121d418 100644
--- a/crypto/bn/Makefile
+++ b/crypto/bn/Makefile
@@ -135,7 +135,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) $@