about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2018-04-17 13:38:19 +0200
committerMichael Woerister <michaelwoerister@posteo>2018-05-03 02:30:15 -0700
commitae149f11ec01acd61dda074224becaaf7101b116 (patch)
treea4edf16d3afb5496f882b0bf06daeeb273c438f7 /src
parentfefed137470ecba8ee662c93b19bf39edffcde7e (diff)
downloadrust-ae149f11ec01acd61dda074224becaaf7101b116.tar.gz
rust-ae149f11ec01acd61dda074224becaaf7101b116.zip
Ignore cross-lang-lto test for LLVM versions without ThinLTO.
Diffstat (limited to 'src')
-rw-r--r--src/test/run-make/cross-lang-lto/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/run-make/cross-lang-lto/Makefile b/src/test/run-make/cross-lang-lto/Makefile
index 8cd1fde05d4..fad8cdf1267 100644
--- a/src/test/run-make/cross-lang-lto/Makefile
+++ b/src/test/run-make/cross-lang-lto/Makefile
@@ -1,9 +1,12 @@
+
+# min-llvm-version 4.0
+
+-include ../../run-make-fulldeps/tools.mk
+
 # This test makes sure that the expected .llvmbc sections for use by
 # linker-based LTO are available in object files when compiling with
 # -Z cross-lang-lto
 
--include ../../run-make-fulldeps/tools.mk
-
 LLVMBC_SECTION_NAME=\\.llvmbc
 
 ifeq ($(UNAME),Darwin)