mirror of
https://github.com/kenshineto/kern.git
synced 2025-04-16 23:47:25 +00:00
fix symbols
This commit is contained in:
parent
6f6047f5a1
commit
d1a2fa2cfa
1 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,8 @@ const c_flags = &[_][]const u8{
|
|||
"-fno-omit-frame-pointer",
|
||||
"-ffreestanding",
|
||||
"-fno-builtin",
|
||||
// symbols
|
||||
"-ggdb",
|
||||
};
|
||||
|
||||
const ld_flags = &[_][]const u8{
|
||||
|
@ -298,7 +300,7 @@ pub fn build(b: *std.Build) !void {
|
|||
.ofmt = std.Target.ObjectFormat.elf,
|
||||
},
|
||||
});
|
||||
const optimize = std.builtin.OptimizeMode.ReleaseSmall;
|
||||
const optimize = std.builtin.OptimizeMode.ReleaseFast;
|
||||
|
||||
// boot
|
||||
build_kern_binary(b, .{
|
||||
|
|
Loading…
Add table
Reference in a new issue