userspace: Allow building without SSE
I had added changes that had broken compilation without sse support
This commit is contained in:
@@ -21,4 +21,9 @@ foreach(project ${USERSPACE_TESTS})
|
||||
target_link_options(${project} PRIVATE -nolibc)
|
||||
# Default compile options
|
||||
target_compile_options(${project} PRIVATE -g -O2)
|
||||
|
||||
target_compile_definitions(${project} PRIVATE __enable_sse=${BANAN_ENABLE_SSE})
|
||||
if (NOT BANAN_ENABLE_SSE)
|
||||
target_compile_options(${project} PRIVATE -mno-sse -mno-sse2)
|
||||
endif ()
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user