1 include ../../run-make-fulldeps/tools.mk
7 # How to manually run this
8 # $ ./x.py test --target x86_64-unknown-linux-[musl,gnu] tests/run-make/static-pie
10 all: test-clang test-gcc
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; \