about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJimmy Brush <code@jimmah.com>2018-02-08 07:48:16 -0500
committerJimmy Brush <code@jimmah.com>2018-02-13 22:10:26 -0500
commit16350526d8d8b514327c62b904d26f74937a1b23 (patch)
treeeb6019009c9ebd0daf4b6c516bf046e20fcd9b8f /src/rustllvm/RustWrapper.cpp
parent4d2d3fc5dadf894a8ad709a5860a549f2c0b1032 (diff)
downloadrust-16350526d8d8b514327c62b904d26f74937a1b23.tar.gz
rust-16350526d8d8b514327c62b904d26f74937a1b23.zip
pass correct pie args to gcc linker
When linking with gcc, run gcc -v to see if --enable-default-pie is
compiled in. If it is, pass -no-pie when necessary to disable pie.
Otherwise, pass -pie when necessary to enable it.

Fixes #48032 and fixes #35061
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions