Skip to content

Commit 566d653

Browse files
committed
Fix run-make/simd-ffi to work with parallel make check.
1 parent 1db3df8 commit 566d653

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/run-make/simd-ffi/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ define MK_TARGETS
2727
# on some platforms, but LLVM just prints a warning so that's fine for
2828
# now.
2929
$(1): simd.rs
30-
$$(RUSTC) --target=$(1) --emit=llvm-ir,asm simd.rs -C target-feature='+neon,+sse2'
30+
$$(RUSTC) --target=$(1) --emit=llvm-ir,asm simd.rs \
31+
-C target-feature='+neon,+sse2' -C extra-filename=-$(1)
3132
endef
3233

3334
$(foreach targetxxx,$(TARGETS),$(eval $(call MK_TARGETS,$(targetxxx))))

0 commit comments

Comments
 (0)