]> git.lizzy.rs Git - rust.git/commit
make link_args use spaces as separators
authorDaniel Micay <danielmicay@gmail.com>
Thu, 2 May 2013 16:46:58 +0000 (12:46 -0400)
committerDaniel Micay <danielmicay@gmail.com>
Thu, 2 May 2013 16:46:58 +0000 (12:46 -0400)
commit7aa10e616bc3d4d43051c04a074d7e573fb72886
tree19474143b34ddbc14013574aaeb9589220deebc1
parent89377eafe163eee7f636a758ef117399f58c3598
make link_args use spaces as separators

Lots of linking arguments need to be passed as -Wl,--foo so giving the
comma meaning at the rustc layer makes those flags impossible to pass.

Multiple arguments can now be passed from a shell by quoting the
argument: --link-args='-lfoo -Wl,--as-needed'.
src/librustc/driver/driver.rs