about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-03-29 08:24:02 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-03-29 08:24:02 -0700
commit694d88394b824fecf90176c9d1a38631fd33d468 (patch)
tree3dade567c48212b20953a6012b77f160e90183c9 /src/libstd/sys/unix/stack_overflow.rs
parenta11129701c873d96fe0816e4c8b55510efebe96e (diff)
downloadrust-694d88394b824fecf90176c9d1a38631fd33d468.tar.gz
rust-694d88394b824fecf90176c9d1a38631fd33d468.zip
mk: Fix cross-host builds
The change in b20e748 had the unintended consequence of breaking cross-host
builds as we apparently relied on the incorrect definition of this variable in
the makefiles. That change, however, was required to get tests passing so we
couldn't just revert it.

This commit fixes the underlying bug by leaving the "more correct" definition of
`LD_LIBRARY_PATH_ENV_TARGETDIR` (also fixing it with a hardcoded reference to
`CFG_BUILD`) and updating the `RPATH_VAR` definition below. Turned out we
already had special-casing logic for passing `--cfg stage1` during the
well-we-print-this-as-stage0 build of a cross-host. That logic was just updated
to pull from a different variable as opposed to relying on the definition of
that variable to accommodate this.

Closes #32568
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions