about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jsgf@fb.com>2017-01-03 09:45:02 -0800
committerJeremy Fitzhardinge <jsgf@fb.com>2017-01-03 11:40:48 -0800
commita8fa2cff2835ceac6308415d1397b59805ea70dc (patch)
tree7e0cb965742ceb172f69b887b068cc743d44656d /src/liballoc_system
parent8f62c2920077eb5cb81323142fc5dbe6ae8813c0 (diff)
downloadrust-a8fa2cff2835ceac6308415d1397b59805ea70dc.tar.gz
rust-a8fa2cff2835ceac6308415d1397b59805ea70dc.zip
rustc: use -Xlinker when specifying an rpath with ',' in it
The `-Wl` option splits its parameters on commas, so if rustc specifies
`-Wl,-rpath,<path>` when `<path>` contains commas, the path gets split up
and the linker gets a partial path and spurious extra parameters.

Gcc/clang support the more verbose `-Xlinker` option to pass options
to the linker directly, so use it for comma-containing paths.

Fixes rust issue #38795.
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions