]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/fpic/Makefile
Rollup merge of #107321 - lcnr:comment, r=compiler-errors
[rust.git] / tests / run-make-fulldeps / fpic / Makefile
1 include ../tools.mk
2
3 # ignore-windows
4 # ignore-macos
5
6 # Test for #39529.
7 # `-z text` causes ld to error if there are any non-PIC sections
8
9 all:
10         $(RUSTC) hello.rs -C link-args=-Wl,-z,text