mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
fix build failure because of _cgo_yield
Signed-off-by: Tw <tw19881113@gmail.com>
This commit is contained in:
parent
2f56d78629
commit
533ce2f2ea
@ -11,6 +11,7 @@ global x_cgo_sigaction
|
||||
global x_cgo_thread_start
|
||||
global x_cgo_setenv
|
||||
global x_cgo_unsetenv
|
||||
global _cgo_yield
|
||||
|
||||
; Stubs for missing cgo functions to keep the linker happy
|
||||
x_cgo_callers:
|
||||
@ -21,4 +22,5 @@ x_cgo_sigaction:
|
||||
x_cgo_thread_start:
|
||||
x_cgo_setenv:
|
||||
x_cgo_unsetenv:
|
||||
_cgo_yield:
|
||||
ret
|
||||
|
Loading…
x
Reference in New Issue
Block a user