]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-make/relocation-model/Makefile
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / run-make / relocation-model / Makefile
index b22f34fa35b54af8b262159d26d461e6dc301db6..485ecbb4b5a59a60b0cad78692d977374face91d 100644 (file)
@@ -7,8 +7,7 @@ all: others
        $(RUSTC) -C relocation-model=default foo.rs
        $(call RUN,foo)
 
-       $(RUSTC) -C relocation-model=default --crate-type=dylib foo.rs
-       $(RUSTC) -C relocation-model=dynamic-no-pic --crate-type=dylib foo.rs
+       $(RUSTC) -C relocation-model=dynamic-no-pic --crate-type=dylib foo.rs --emit=link,obj
 
 ifdef IS_MSVC
 # FIXME(#28026)
@@ -17,5 +16,4 @@ else
 others:
        $(RUSTC) -C relocation-model=static foo.rs
        $(call RUN,foo)
-       $(RUSTC) -C relocation-model=static --crate-type=dylib foo.rs
 endif