diff options
author | Andy Polyakov <appro@openssl.org> | 2013-11-12 21:49:15 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2013-11-12 21:53:39 +0100 |
commit | ca44f72938c7c1394472ff26bf7613085102effb (patch) | |
tree | 1748a52199d7ffe50a45ab8326a60d9c7e387943 /crypto/Makefile | |
parent | 18f49508a5d45fecd261f523210140eeb2a77f27 (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 42ebafa5c0..15ef1d945b 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 '; \ |