about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-12-07 11:59:31 -0800
committerGraydon Hoare <graydon@mozilla.com>2011-12-07 13:32:59 -0800
commitdfd699a8521c6fecd49b260e541764134c54b591 (patch)
treef1bc7dbcf3d09cde8bc68199176653a8e373b92c
parent17e99ec57fe8b4b9de24933728db1737e846a7c2 (diff)
downloadrust-dfd699a8521c6fecd49b260e541764134c54b591.tar.gz
rust-dfd699a8521c6fecd49b260e541764134c54b591.zip
Pass --no-core when building libcore.
-rw-r--r--mk/target.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/target.mk b/mk/target.mk
index ecedff1c5d1..6170aedb610 100644
--- a/mk/target.mk
+++ b/mk/target.mk
@@ -26,7 +26,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_CORELIB): \
 		$$(CORELIB_CRATE) $$(CORELIB_INPUTS) \
 		$$(TSREQ$(1)_T_$(2)_H_$(3))
 	@$$(call E, compile_and_link: $$@)
-	$$(STAGE$(1)_T_$(2)_H_$(3)) --lib -o $$@ $$<
+	$$(STAGE$(1)_T_$(2)_H_$(3)) --no-core --lib -o $$@ $$<
 
 $$(TLIB$(1)_T_$(2)_H_$(3))/$$(CFG_STDLIB): \
 		$$(STDLIB_CRATE) $$(STDLIB_INPUTS) \