f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
24 lines
816 B
Diff
24 lines
816 B
Diff
diff --git a/cmd/hare/build.ha b/cmd/hare/build.ha
|
|
index ce19af9e..8631b325 100644
|
|
--- a/cmd/hare/build.ha
|
|
+++ b/cmd/hare/build.ha
|
|
@@ -36,7 +36,7 @@ fn build(name: str, cmd: *getopt::command) (void | error) = {
|
|
case let ncpu: size =>
|
|
yield ncpu;
|
|
},
|
|
- version = build::get_version(os::tryenv("HAREC", "harec"))?,
|
|
+ version = build::get_version(os::tryenv("HAREC", "@harec_bin@"))?,
|
|
arch = arch,
|
|
platform = build::get_platform(os::sysname())?,
|
|
...
|
|
@@ -143,8 +143,8 @@ fn build(name: str, cmd: *getopt::command) (void | error) = {
|
|
set_arch_tags(&ctx.ctx.tags, arch);
|
|
|
|
ctx.cmds = ["",
|
|
- os::tryenv("HAREC", "harec"),
|
|
- os::tryenv("QBE", "qbe"),
|
|
+ os::tryenv("HAREC", "@harec_bin@"),
|
|
+ os::tryenv("QBE", "@qbe_bin@"),
|
|
os::tryenv("AS", arch.as_cmd),
|
|
os::tryenv("LD", arch.ld_cmd),
|
|
];
|