Remove -mavx

This commit is contained in:
2025-06-05 15:38:24 -04:00
parent d60777002f
commit 35c3e14586

View File

@@ -84,9 +84,6 @@ check_cxx_source_compiles("int main(){}" HAS_VERSION_SCRIPT FAIL_REGEX
"warning:")
cmake_pop_check_state()
if(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64)
add_compile_options(-mavx)
endif()
if(CMAKE_SYSTEM_NAME STREQUAL Linux)
add_link_options(LINKER:--gc-sections)
endif()