From e77a9b34775837c642c6f7268f829e77ab86624a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Fri, 6 Jun 2025 09:24:33 +0200 Subject: [PATCH] build: remove native arch flags Fixes #72 --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69ab87f..c4ae7bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,10 +57,6 @@ set(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}) # Find and include SDL2 library find_package(SDL2 REQUIRED) -# Remove ARM-specific compile and linker options -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") - # Add compile definitions based on the selected options add_compile_definitions($<$:LV_USE_DRAW_SDL=1>) add_compile_definitions($<$:LV_USE_LIBPNG=1>) @@ -191,4 +187,4 @@ if (ASAN) else() message(STATUS "AddressSanitizer disabled") endif() -endif() \ No newline at end of file +endif()