Skip to content

Commit

Permalink
add include
Browse files Browse the repository at this point in the history
  • Loading branch information
yxd-ym committed Aug 10, 2024
1 parent cc2a6f5 commit e5ebf27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/glibc.zig
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,9 @@ fn add_include_dirs_arch(
try args.append("-I");
try args.append(try path.join(arena, &[_][]const u8{ dir, "riscv" }));
}
} else if (arch.isLoongArch()) {
try args.append("-I");
try args.append(try path.join(arena, &[_][]const u8{ dir, "loongarch" }));
}
}

Expand Down

0 comments on commit e5ebf27

Please sign in to comment.