about summary refs log tree commit diff
path: root/src/comp/driver
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2011-07-15 16:12:41 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-07-15 16:16:51 -0700
commitfafb42e6b1f0dd3022d33e235a4229060d2b2d1d (patch)
tree98b645c7aece5142f8df3e2a0704208ac48a380d /src/comp/driver
parentc4265209a60ebb6227a6fff63c906e34f7210e49 (diff)
downloadrust-fafb42e6b1f0dd3022d33e235a4229060d2b2d1d.tar.gz
rust-fafb42e6b1f0dd3022d33e235a4229060d2b2d1d.zip
Merge the stage1,2,3.mk files into a common definition in stageN.mk, more rearrangement of host/target libs.
Diffstat (limited to 'src/comp/driver')
-rw-r--r--src/comp/driver/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 9d195c44ada..b810fbecc72 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -508,7 +508,7 @@ fn main(vec[str] args) {
     }
 
     let str glu = binary_dir + "/lib/glue.o";
-    let str main = "rt/main.o";
+    let str main = binary_dir + "/lib/main.o";
     let str stage = "-L" + binary_dir + "/lib";
     let str prog = "gcc";
     // The invocations of gcc share some flags across platforms