fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
24 lines
813 B
Diff
24 lines
813 B
Diff
diff --git a/cmd/hare/build.ha b/cmd/hare/build.ha
|
|
index b2ac6518..417b46c6 100644
|
|
--- a/cmd/hare/build.ha
|
|
+++ b/cmd/hare/build.ha
|
|
@@ -37,7 +37,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@"))?,
|
|
arch = arch.qbe_name,
|
|
platform = build::get_platform(os::sysname())?,
|
|
...
|
|
@@ -145,8 +145,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@"),
|
|
+ os::tryenv("QBE", "@qbe@"),
|
|
os::tryenv("AS", arch.as_cmd),
|
|
os::tryenv("LD", arch.ld_cmd),
|
|
];
|