Remove -mavx
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user