]> git.proxmox.com Git - rustc.git/blame - src/test/run-make/relocation-model/Makefile
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / run-make / relocation-model / Makefile
CommitLineData
1a4d82fc
JJ
1-include ../tools.mk
2
b039eaaf 3all: others
1a4d82fc
JJ
4 $(RUSTC) -C relocation-model=dynamic-no-pic foo.rs
5 $(call RUN,foo)
6
7 $(RUSTC) -C relocation-model=default foo.rs
8 $(call RUN,foo)
9
54a0048b 10 $(RUSTC) -C relocation-model=dynamic-no-pic --crate-type=dylib foo.rs --emit=link,obj
b039eaaf
SL
11
12ifdef IS_MSVC
13# FIXME(#28026)
14others:
15else
16others:
1a4d82fc
JJ
17 $(RUSTC) -C relocation-model=static foo.rs
18 $(call RUN,foo)
b039eaaf 19endif