diff options
| author | Jeremy Fitzhardinge <jsgf@fb.com> | 2017-01-03 09:45:02 -0800 |
|---|---|---|
| committer | Jeremy Fitzhardinge <jsgf@fb.com> | 2017-01-03 11:40:48 -0800 |
| commit | a8fa2cff2835ceac6308415d1397b59805ea70dc (patch) | |
| tree | 7e0cb965742ceb172f69b887b068cc743d44656d /src/liballoc_system | |
| parent | 8f62c2920077eb5cb81323142fc5dbe6ae8813c0 (diff) | |
| download | rust-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
