Test remove -march=native

Also see "Random crashes on different computers because option -march=native is active 'by default'", https://github.com/weidai11/cryptopp/issues/380
pull/465/head
Jeffrey Walton 2017-08-23 04:50:28 -04:00
parent 4fef2951e3
commit e0e8b63cee
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ endif()
# New as of Pull Request 461, http://github.com/weidai11/cryptopp/pull/461.
# These are hard coded for X86 at the moment. We need to fix them.
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" Or "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
if (("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") OR ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU"))
set_source_files_properties(aria-simd.cpp PROPERTIES COMPILE_FLAGS -mssse3)
set_source_files_properties(blake2-simd.cpp PROPERTIES COMPILE_FLAGS -msse4.2)
set_source_files_properties(crc-simd.cpp PROPERTIES COMPILE_FLAGS -msse4.2)