]> git.lizzy.rs Git - rust.git/commit
Fix #3225: Check for old Rust libraries when building and installing.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 4 Jul 2013 14:51:45 +0000 (16:51 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Sun, 7 Jul 2013 13:23:40 +0000 (15:23 +0200)
commit033ac5497e00d2380b6cb816498a945fbc10c1e6
tree9a6476ac32beff929272ecfbd62a6ef3844914da
parent63f785769740b3e61e1c4d908c7a97f836c3cdc4
Fix #3225: Check for old Rust libraries when building and installing.

When building Rust libraries (e.g. librustc, libstd, etc), checks for
and verbosely removes previous build products before invoking rustc.
(Also, when Make variable VERBOSE is defined, it will list all of the
libraries matching the object library's glob after the rustc
invocation has completed.)

When installing Rust libraries, checks for previous libraries in
target install directory, but does not remove them.

The thinking behind these two different modes of operation is that the
installation target, unlike the build tree, is not under the control
of this infrastructure and it is not up to this Makefile to decide if
the previous libraries should be removed.
Makefile.in
mk/host.mk
mk/install.mk
mk/stage0.mk
mk/target.mk
mk/tools.mk