diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-04-21 17:43:47 +0100 |
---|---|---|
committer | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-04-21 17:43:47 +0100 |
commit | 741bee2e2f99602946abc9a77da2b5262ee02669 (patch) | |
tree | 538f8688f2a8d6fe90ef5c8f076feb8ab19f0441 /CMakeLists.txt | |
parent | a93d71cd10b2c2a0bee2bd106cae0288145e42b0 (diff) | |
download | xmr-stak-741bee2e2f99602946abc9a77da2b5262ee02669.zip xmr-stak-741bee2e2f99602946abc9a77da2b5262ee02669.tar.gz |
Windows build fix + gcc cmake opts
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e87d69d..2667f42 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,9 +84,9 @@ endif() # Compile & Link ################################################################################ -# activate sse2 and aes-ni -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -maes") -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -maes") +# activate sse2, aes-ni and bmi2 +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -maes -mbmi2") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -maes -mbmi2") # activate static libgcc and libstdc++ linking if(CMAKE_LINK_STATIC) |