summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/fpic/Makefile
blob: 5986de3666f71c08a9c7deecdbe91bbb18f04f25 (plain)
1
2
3
4
5
6
7
8
9
10
include ../tools.mk

# ignore-windows
# ignore-macos

# Test for #39529.
# `-z text` causes ld to error if there are any non-PIC sections

all:
	$(RUSTC) hello.rs -C link-args=-Wl,-z,text