about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Prichard <ryan.prichard@gmail.com>2015-04-17 04:58:47 -0700
committerRyan Prichard <ryan.prichard@gmail.com>2015-04-22 20:32:14 -0700
commitd57fc929496fa82bee3ad2deb539150f5f3f0931 (patch)
tree047d7c340be27cafcf6148508354bfbe0c842cc3
parentb7ab2aeebddc927f8e4bc98093db57f2ba56844b (diff)
downloadrust-d57fc929496fa82bee3ad2deb539150f5f3f0931.tar.gz
rust-d57fc929496fa82bee3ad2deb539150f5f3f0931.zip
Fix run-make/simd-ffi to work with parallel make check.
-rw-r--r--src/test/run-make/simd-ffi/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/run-make/simd-ffi/Makefile b/src/test/run-make/simd-ffi/Makefile
index 68a6a5fbfe8..dc0fcec1980 100644
--- a/src/test/run-make/simd-ffi/Makefile
+++ b/src/test/run-make/simd-ffi/Makefile
@@ -27,7 +27,8 @@ define MK_TARGETS
 # on some platforms, but LLVM just prints a warning so that's fine for
 # now.
 $(1): simd.rs
-	$$(RUSTC) --target=$(1) --emit=llvm-ir,asm simd.rs -C target-feature='+neon,+sse2'
+	$$(RUSTC) --target=$(1) --emit=llvm-ir,asm simd.rs \
+                -C target-feature='+neon,+sse2' -C extra-filename=-$(1)
 endef
 
 $(foreach targetxxx,$(TARGETS),$(eval $(call MK_TARGETS,$(targetxxx))))