mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
build: fix build
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ pub fn getPlatform(config: Config) !Platform {
|
||||
return error.NoArchConfigured;
|
||||
};
|
||||
|
||||
if (ret.arch == .x86_64 or ret.arch == .aarch64) {
|
||||
if (ret.os == .freestanding and (ret.arch == .x86_64 or ret.arch == .aarch64)) {
|
||||
ret.bootloader = blk: {
|
||||
if (config.get("CONFIG_BOOT_LIMINE")) |val| {
|
||||
if (std.mem.eql(u8, val, "y")) break :blk .Limine;
|
||||
|
||||
Reference in New Issue
Block a user