arm64: cmake: Add -mgeneral-regs-only option.
Change-Id: I0cbdc65c4b95195831344f4006bfc85b1ea58139
This commit is contained in:
@@ -23,6 +23,10 @@ if (${ARCH} STREQUAL "x86_64")
|
|||||||
add_compile_options(-mcmodel=large -mno-red-zone -mno-sse)
|
add_compile_options(-mcmodel=large -mno-red-zone -mno-sse)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (${ARCH} STREQUAL "arm64")
|
||||||
|
add_compile_options(-mgeneral-regs-only)
|
||||||
|
endif()
|
||||||
|
|
||||||
set(MCKERNEL_SRCS
|
set(MCKERNEL_SRCS
|
||||||
init.c mem.c debug.c mikc.c listeners.c ap.c syscall.c cls.c host.c process.c
|
init.c mem.c debug.c mikc.c listeners.c ap.c syscall.c cls.c host.c process.c
|
||||||
copy.c waitq.c futex.c timer.c plist.c fileobj.c shmobj.c zeroobj.c
|
copy.c waitq.c futex.c timer.c plist.c fileobj.c shmobj.c zeroobj.c
|
||||||
|
|||||||
Reference in New Issue
Block a user