From b1aa068800674dbe28ceb18745cc79f00fb2d67c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Gro=C3=9F?= Date: Wed, 11 Jun 2025 11:15:46 +0200 Subject: [PATCH] Fix misspelled `-msse3` --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f0aa0d2e62..8f7a7ef360 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.