summaryrefslogtreecommitdiffstats
path: root/crypto/modes
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/modes
parent18f49508a5d45fecd261f523210140eeb2a77f27 (diff)
Make Makefiles OSF-make-friendly.
PR: 3165 (cherry picked from commit d1cf23ac86c05b22b8780e2c03b67230564d2d34)
Diffstat (limited to 'crypto/modes')
-rw-r--r--crypto/modes/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/modes/Makefile b/crypto/modes/Makefile
index ffbf019d18..bcd12c5af2 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) $@