arm64: cmake: Add -mgeneral-regs-only option.

Change-Id: I0cbdc65c4b95195831344f4006bfc85b1ea58139
This commit is contained in:
Shiratori, Takehiro
2019-03-12 17:26:18 +09:00
parent ccb36a5849
commit 70b42fde5d

View File

@@ -23,6 +23,10 @@ if (${ARCH} STREQUAL "x86_64")
add_compile_options(-mcmodel=large -mno-red-zone -mno-sse)
endif()
if (${ARCH} STREQUAL "arm64")
add_compile_options(-mgeneral-regs-only)
endif()
set(MCKERNEL_SRCS
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