switch to zig build --prefix
This commit is contained in:
parent
1b75b576ad
commit
da37355d83
|
|
@ -1,6 +1,6 @@
|
|||
.PHONY: x86_64_stivale2 clean
|
||||
x86_64_stivale2:
|
||||
zig build -Dtarget="$@"
|
||||
zig build -Dtarget="$@" --prefix bin
|
||||
|
||||
clean:
|
||||
rm -rf bin zig-cache
|
||||
|
|
@ -179,7 +179,7 @@ pub fn build(b: *Builder) !void {
|
|||
exe.setTarget(getTarget(ktarget));
|
||||
exe.setBuildMode(mode);
|
||||
exe.setLinkerScriptPath(getLinkerScript(ktarget));
|
||||
exe.setOutputDir("bin");
|
||||
// exe.setOutputDir("bin");
|
||||
exe.install();
|
||||
|
||||
const run_cmd = exe.run();
|
||||
|
|
|
|||
Loading…
Reference in New Issue