]> git.lizzy.rs Git - rust.git/blobdiff - mk/target.mk
Auto merge of #28455 - nrc:span-bang, r=alexcrichton
[rust.git] / mk / target.mk
index aae66c45b57e3c2fbb9074de39b7749ecc79c1dc..d6fa55bf7f51661429b997992350324cc6f9f586 100644 (file)
 # this exists can be found on issue #2400
 export CFG_COMPILER_HOST_TRIPLE
 
+# Used as defaults for the runtime ar and cc tools
+export CFG_DEFAULT_LINKER
+export CFG_DEFAULT_AR
+
 # The standard libraries should be held up to a higher standard than any old
 # code, make sure that these common warnings are denied by default. These can
 # be overridden during development temporarily. For stage0, we allow warnings
@@ -89,6 +93,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
                $$(LLVM_LIBDIR_RUSTFLAGS_$(2)) \
                $$(LLVM_STDCPP_RUSTFLAGS_$(2)) \
                $$(RUSTFLAGS_$(4)) \
+               $$(RUSTFLAGS$(1)_$(4)) \
                $$(RUSTFLAGS$(1)_$(4)_T_$(2)) \
                --out-dir $$(@D) \
                -C extra-filename=-$$(CFG_FILENAME_EXTRA) \