From 664bed5fe23c520b882f6e2e59a5f678205e335d Mon Sep 17 00:00:00 2001
From: Brian Anderson <banderson@mozilla.com>
Date: Fri, 16 Mar 2012 23:33:05 -0700
Subject: [PATCH] build: Fix non-host libcore

---
 mk/target.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mk/target.mk b/mk/target.mk
index 34470e99f6490..cb703dfacc184 100644
--- a/mk/target.mk
+++ b/mk/target.mk
@@ -158,7 +158,9 @@ endif
 # 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)))))
+  $(eval $(call TARGET_RT_FROM_WD,0,$(target),$(source)))       \
+  $(eval $(call TARGET_CORELIB_FROM_WD,0,$(target),$(source)))  \
+))
 
 # After stage0, always build the stage0 runtime from the working directory
 $(foreach source,$(CFG_TARGET_TRIPLES),				\