about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-02-25 15:54:40 +0800
committerGitHub <noreply@github.com>2018-02-25 15:54:40 +0800
commit725856d67fafcb19901dfa033d52f38d1994dc17 (patch)
treee740cadc9cf5da45268cadd54da3b1a1ab826459 /src/rustllvm/RustWrapper.cpp
parente25322454147c02c054022d3a30f319184dbe49e (diff)
parentab9cae1ba192afcc35e8bd6a5fddcd1445d05da7 (diff)
downloadrust-725856d67fafcb19901dfa033d52f38d1994dc17.tar.gz
rust-725856d67fafcb19901dfa033d52f38d1994dc17.zip
Rollup merge of #48076 - canarysnort01:fix_pie, r=alexcrichton
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