diff options
author | Andy Polyakov <appro@openssl.org> | 2013-11-12 21:49:15 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-11-12 22:01:20 +0100 |
commit | 7ed244a0b34f42e32f1366efe9df619d6709d6e6 (patch) | |
tree | f3051adf49b7baca29ab0c6e83aad28b796d094b /crypto/Makefile | |
parent | e94a23876c808c0b70887110bb6ea2b50108f994 (diff) |
Make Makefiles OSF-make-friendly.
PR: 3165
(cherry picked from commit d1cf23ac86c05b22b8780e2c03b67230564d2d34)
Diffstat (limited to 'crypto/Makefile')
-rw-r--r-- | crypto/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index 947dd5d44e..a90809b2b8 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -77,7 +77,9 @@ ia64cpuid.s: ia64cpuid.S; $(CC) $(CFLAGS) -E ia64cpuid.S > $@ ppccpuid.s: ppccpuid.pl; $(PERL) ppccpuid.pl $(PERLASM_SCHEME) $@ pariscid.s: pariscid.pl; $(PERL) pariscid.pl $(PERLASM_SCHEME) $@ alphacpuid.s: alphacpuid.pl - $(PERL) $< | $(CC) -E - | tee $@ > /dev/null + (preproc=/tmp/$$$$.$@; trap "rm $$preproc" INT; \ + $(PERL) alphacpuid.pl > $$preproc && \ + $(CC) -E $$preproc > $@ && rm $$preproc) testapps: [ -z "$(THIS)" ] || ( if echo $(SDIRS) | fgrep ' des '; \ |