fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1include ../tools.mk 2 3# only-x86_64 4# only-linux 5# ignore-32bit 6 7# How to manually run this 8# $ ./x.py test --target x86_64-unknown-linux-[musl,gnu] tests/run-make/static-pie 9 10all: test-clang test-gcc 11 12test-%: 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