Add compile option to align stack for xmm usage.
This commit is contained in:
parent
b3bc1c44d7
commit
81469496d1
|
@ -9,7 +9,7 @@ set(CMAKE_CXX_STANDARD 20)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
set(CMAKE_EXPORT_COMPILE_COMMANDS True)
|
set(CMAKE_EXPORT_COMPILE_COMMANDS True)
|
||||||
|
|
||||||
set(BASE_COMPILE_FLAGS "-ffreestanding -fno-rtti -fno-exceptions")
|
set(BASE_COMPILE_FLAGS "-ffreestanding -fno-rtti -fno-exceptions -mincoming-stack-boundary=3")
|
||||||
set(BASE_LINK_FLAGS "-nostdlib")
|
set(BASE_LINK_FLAGS "-nostdlib")
|
||||||
|
|
||||||
add_subdirectory(zion)
|
add_subdirectory(zion)
|
||||||
|
|
Loading…
Reference in New Issue