]> git.proxmox.com Git - rustc.git/blob - src/test/run-make/issue-24445/Makefile
New upstream version 1.17.0+dfsg1
[rustc.git] / src / test / run-make / issue-24445 / Makefile
1 -include ../tools.mk
2
3 ifeq ($(UNAME),Linux)
4 all:
5 $(RUSTC) foo.rs
6 $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -o $(TMPDIR)/foo
7 $(call RUN,foo)
8 $(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -pie -fPIC -o $(TMPDIR)/foo
9 $(call RUN,foo)
10 else
11 all:
12 endif