]> git.lizzy.rs Git - rust.git/blobdiff - mk/tests.mk
librustc: Don't try to perform the magical
[rust.git] / mk / tests.mk
index 6ea2d9cbe8ed86bc18b0fe3ec955572ca520cc28..1989d6ef86797855d1f738fb2d2dfccb3f0dfb1f 100644 (file)
@@ -376,7 +376,8 @@ $(3)/stage$(1)/test/$(4)test-$(2)$$(X_$(2)):                                \
        @$$(call E, rustc: $$@)
        $$(STAGE$(1)_T_$(2)_H_$(3)) -o $$@ $$< --test   \
                -L "$$(RT_OUTPUT_DIR_$(2))"             \
-               -L "$$(LLVM_LIBDIR_$(2))"
+               -L "$$(LLVM_LIBDIR_$(2))"               \
+               $$(RUSTFLAGS_$(4))
 
 endef