Windows build: build foo.d after foo.obj
authorRichard Levitte <levitte@openssl.org>
Tue, 23 Oct 2018 08:35:48 +0000 (10:35 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 29 Oct 2018 13:28:40 +0000 (14:28 +0100)
commit7e01266fa69db90533e53a37cc83d0df99b1c08f
treeb53a0fafbeb54e3923e8dd91937d1e0c436fbcfe
parent7ccfce81db635eb89401ed0bf2d9e256e962e5d8
Windows build: build foo.d after foo.obj

We made the build of foo.obj depend on foo.d, meaning the latter gets
built first.  Unfortunately, the way the compiler works, we are forced
to redirect all output to foo.d, meaning that if the source contains
an error, the build fails without showing those errors.

We therefore remove the dependency and force the build of foo.d to
always happen after build of foo.obj.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7469)

(cherry picked from commit ecc347f5f53a9f2edc2805d50cba07db64267e8a)
Configurations/windows-makefile.tmpl