Fix misspelled -msse3

This commit is contained in:
Julian Groß 2025-06-11 11:15:46 +02:00 committed by GitHub
parent f58368faab
commit b1aa068800
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,8 +35,8 @@ if( NOT WIN32 )
# SetAlignedPointerInInternalField requires at least 2 byte alignment and -falign-functions will set alignment
# to machine specific value which should be greater than 2.
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
set(CMAKE_CXX_FLAGS "-falign-functions -fPIC -m64 -mss3" CACHE STRING "C++ compiler flags for all build types.")
set(CMAKE_C_FLAGS "-falign-functions -fPIC -m64 -mss3" CACHE STRING "C compiler flags for all build types.")
set(CMAKE_CXX_FLAGS "-falign-functions -fPIC -m64 -msse3" CACHE STRING "C++ compiler flags for all build types.")
set(CMAKE_C_FLAGS "-falign-functions -fPIC -m64 -msse3" CACHE STRING "C compiler flags for all build types.")
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
# TODO: Find out which architecture optimizations to use on aarch64.
# We should probably target the 64bit version of the Raspberry Pi 2 as minimum.