]> git.proxmox.com Git - rustc.git/blob - src/test/run-make/static-pie/Makefile
Update unsuspicious file list
[rustc.git] / src / test / run-make / static-pie / Makefile
1 include ../../run-make-fulldeps/tools.mk
2
3 # only-x86_64
4 # only-linux
5 # ignore-gnux32
6
7 # How to manually run this
8 # $ ./x.py test --target x86_64-unknown-linux-[musl,gnu] src/test/run-make/static-pie
9
10 all: test-clang test-gcc
11
12 test-%:
13 if ./check_$*_version.sh; then\
14 ${RUSTC} -Clinker=$* -Clinker-flavor=gcc --target ${TARGET} -C target-feature=+crt-static test-aslr.rs; \
15 ! readelf -l $(call RUN_BINFILE,test-aslr) | $(CGREP) INTERP; \
16 readelf -l $(call RUN_BINFILE,test-aslr) | $(CGREP) DYNAMIC; \
17 $(call RUN,test-aslr) --test-aslr; \
18 fi