summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/fpic/Makefile
blob: a3d0190eed6331225986609b74b727f79ff661e0 (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