From: Brian Anderson Date: Mon, 9 Jan 2012 21:34:01 +0000 (-0800) Subject: rt: Build the stage0 runtime for non-hosts from the working dir X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=d4ae1cae60fdf1195a82100dbde0444f2d429b19;p=rust.git rt: Build the stage0 runtime for non-hosts from the working dir --- diff --git a/mk/target.mk b/mk/target.mk index 9ca01837f15..4801206660b 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -103,3 +103,8 @@ $(foreach source,$(CFG_TARGET_TRIPLES), \ $(eval $(call TARGET_RT_FROM_WD,1,$(target),$(source))) \ $(eval $(call TARGET_RT_FROM_WD,2,$(target),$(source))) \ $(eval $(call TARGET_RT_FROM_WD,3,$(target),$(source))))) + +# Non-host triples build the stage0 runtime from the working directory +$(foreach source,$(CFG_TARGET_TRIPLES), \ + $(foreach target,$(NON_HOST_TRIPLES), \ + $(eval $(call TARGET_RT_FROM_WD,0,$(target),$(source)))))