Skip to content

Commit

Permalink
修复 xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyi1212 committed Jan 16, 2025
1 parent 9044dc3 commit 1c78cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ add_ldflags("-target x86_64-freestanding")

add_cflags("-mno-80387", "-mno-mmx", "-mno-sse", "-mno-sse2", "-msoft-float")
add_cflags("-mno-red-zone", "-mcmodel=kernel", "-fno-sanitize=undefined","-Werror")
add_ldflags("-static","-nostdlib")
add_ldflags("-static","-nostdlib","-nostdinc")

target("kernel")
set_kind("binary")
Expand Down

0 comments on commit 1c78cd4

Please sign in to comment.