summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/lto-readonly-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-make-fulldeps/lto-readonly-lib/Makefile')
-rw-r--r--src/test/run-make-fulldeps/lto-readonly-lib/Makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/test/run-make-fulldeps/lto-readonly-lib/Makefile b/src/test/run-make-fulldeps/lto-readonly-lib/Makefile
deleted file mode 100644
index a20ecea88..000000000
--- a/src/test/run-make-fulldeps/lto-readonly-lib/Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
-include ../tools.mk
-
-all:
- $(RUSTC) lib.rs
-
- # the compiler needs to copy and modify the rlib file when performing
- # LTO, so we should ensure that it can cope with the original rlib
- # being read-only.
- chmod 444 $(TMPDIR)/*.rlib
-
- $(RUSTC) main.rs -C lto
- $(call RUN,main)