remove hardcoded musl-gcc path

This commit is contained in:
2025-11-11 14:31:33 +01:00
parent 1e98d9d706
commit 2b316cbc16

View File

@@ -84,7 +84,7 @@ fn compile_file(args: Args) -> Result<(), ZernError> {
));
} else {
run_command(format!(
"./musl-1.2.4/root/bin/musl-gcc -static -o {} {}.o -flto -Wl,--gc-sections {}",
"musl-gcc -static -o {} {}.o -flto -Wl,--gc-sections {}",
args.out, args.out, args.cflags
));
}