Skip to content

Commit

Permalink
Fix run-make/simd-ffi to work with parallel make check.
Browse files Browse the repository at this point in the history
  • Loading branch information
rprichard committed Apr 23, 2015
1 parent b7ab2ae commit d57fc92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/run-make/simd-ffi/Makefile
Expand Up @@ -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))))

0 comments on commit d57fc92

Please sign in to comment.