]> git.lizzy.rs Git - rust.git/blobdiff - mk/target.mk
librustc: Don't try to perform the magical
[rust.git] / mk / target.mk
index 448299965a853e999688b2a8bde24a455c509079..0f63ef9a430d0424323b0f69c8b55f9a664d8e90 100644 (file)
@@ -74,7 +74,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4):                                    \
                $$(CRATE_FULLDEPS_$(1)_T_$(2)_H_$(3)_$(4))          \
                $$(TSREQ$(1)_T_$(2)_H_$(3))                         \
                | $$(TLIB$(1)_T_$(2)_H_$(3))/
-       @$$(call E, oxidize: $$(@D)/lib$(4))
+       @$$(call E, rustc: $$(@D)/lib$(4))
        $$(call REMOVE_ALL_OLD_GLOB_MATCHES,\
            $$(dir $$@)$$(call CFG_LIB_GLOB_$(2),$(4)))
        $$(call REMOVE_ALL_OLD_GLOB_MATCHES,\
@@ -84,6 +84,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4):                                    \
                -L "$$(RT_OUTPUT_DIR_$(2))" \
                -L "$$(LLVM_LIBDIR_$(2))" \
                -L "$$(dir $$(LLVM_STDCPP_LOCATION_$(2)))" \
+               $$(RUSTFLAGS_$(4)) \
                --out-dir $$(@D) $$<
        @touch $$@
        $$(call LIST_ALL_OLD_GLOB_MATCHES,\
@@ -114,7 +115,7 @@ $$(TBIN$(1)_T_$(2)_H_$(3))/$(4)$$(X_$(2)):                  \
                    $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$$(dep))   \
                $$(TSREQ$(1)_T_$(2)_H_$(3))                     \
                | $$(TBIN$(1)_T_$(4)_H_$(3))/
-       @$$(call E, oxidize: $$@)
+       @$$(call E, rustc: $$@)
        $$(STAGE$(1)_T_$(2)_H_$(3)) -o $$@ $$< --cfg $(4)
 
 endef