aboutsummaryrefslogtreecommitdiff
path: root/src/comp/back
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-03-25 15:07:27 -0700
committerGraydon Hoare <[email protected]>2011-03-25 15:07:27 -0700
commitb2427509e2d53897b7c7797d5948773b63aed3df (patch)
treec5ae9e8136b521ccd19e2530ffbf5add8617ed55 /src/comp/back
parentstdlib: Implement a memory buffer reader, untested at the moment (diff)
downloadrust-b2427509e2d53897b7c7797d5948773b63aed3df.tar.xz
rust-b2427509e2d53897b7c7797d5948773b63aed3df.zip
Another go at changing compile-command, this time using RBUILD env var.
Diffstat (limited to 'src/comp/back')
-rw-r--r--src/comp/back/abi.rs2
-rw-r--r--src/comp/back/x86.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/back/abi.rs b/src/comp/back/abi.rs
index cae1dc90..836969ef 100644
--- a/src/comp/back/abi.rs
+++ b/src/comp/back/abi.rs
@@ -105,6 +105,6 @@ fn no_op_type_glue_name() -> str {
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
-// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
// End:
//
diff --git a/src/comp/back/x86.rs b/src/comp/back/x86.rs
index 1ac03d1f..b961b474 100644
--- a/src/comp/back/x86.rs
+++ b/src/comp/back/x86.rs
@@ -319,6 +319,6 @@ fn get_target_triple() -> str {
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
-// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
// End:
//