BuildSystem: Enable sse and sse2 for all programs and libraries
This is default on x86_64 but not on the 32 bit target. banan-os already requires the CPU to support SSE even on 32 bit platforms.
This commit is contained in:
@@ -57,5 +57,5 @@ foreach(project ${USERSPACE_PROGRAMS})
|
||||
# This is to allow cmake to link when libc updates
|
||||
target_link_options(${project} PRIVATE -nolibc)
|
||||
# Default compile options
|
||||
target_compile_options(${project} PRIVATE -g -O2 -Wall -Wextra -Werror)
|
||||
target_compile_options(${project} PRIVATE -g -O2 -Wall -Wextra -Werror -msse -msse2)
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user