]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/issue-24445/Makefile
Rollup merge of #106244 - atouchet:readme3, r=workingjubilee
[rust.git] / tests / run-make-fulldeps / issue-24445 / Makefile
1 include ../tools.mk
2
3 # only-linux
4
5 all:
6         $(RUSTC) foo.rs
7         $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -o $(TMPDIR)/foo
8         $(call RUN,foo)
9         $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -pie -fPIC -o $(TMPDIR)/foo
10         $(call RUN,foo)