rust/tests/run-make-fulldeps/fpic/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
188 B
Makefile
Raw Normal View History

include ../tools.mk
2017-02-13 22:10:52 -06:00
# ignore-windows
# ignore-macos
2017-03-01 10:08:53 -06:00
# Test for #39529.
2017-02-13 22:10:52 -06:00
# `-z text` causes ld to error if there are any non-PIC sections
all:
$(RUSTC) hello.rs -C link-args=-Wl,-z,text