diff options
author | wwylele <wwylele@gmail.com> | 2017-02-18 08:01:45 +0100 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-02-21 22:57:31 +0100 |
commit | 261250e3d9f78ead609e010a09d5efbb2694bf17 (patch) | |
tree | 87d8ee39fa04bc2cc4ad43e1a53896bf0be0ab72 /externals | |
parent | APT: implement Wrap and Unwrap (diff) | |
download | yuzu-261250e3d9f78ead609e010a09d5efbb2694bf17.tar yuzu-261250e3d9f78ead609e010a09d5efbb2694bf17.tar.gz yuzu-261250e3d9f78ead609e010a09d5efbb2694bf17.tar.bz2 yuzu-261250e3d9f78ead609e010a09d5efbb2694bf17.tar.lz yuzu-261250e3d9f78ead609e010a09d5efbb2694bf17.tar.xz yuzu-261250e3d9f78ead609e010a09d5efbb2694bf17.tar.zst yuzu-261250e3d9f78ead609e010a09d5efbb2694bf17.zip |
Diffstat (limited to '')
-rw-r--r-- | externals/cryptopp/CMakeLists.txt | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/externals/cryptopp/CMakeLists.txt b/externals/cryptopp/CMakeLists.txt index bbac71bb9..653af1e4b 100644 --- a/externals/cryptopp/CMakeLists.txt +++ b/externals/cryptopp/CMakeLists.txt @@ -3,6 +3,7 @@ # The differences are: # - removed support for legacy CMake versions # - removed support for 32-bit +# - removed -march=native flag # - removed rdrand module.asm as a workaround for an issue (see below) # - added prefix "CRYPTOPP_" to all option names # - disabled testing @@ -96,14 +97,6 @@ if ((NOT CRYPTOPP_CROSS_COMPILE) AND (NOT (WINDOWS OR WINDOWS_STORE OR WINDOWS_P endif() endif() -# -march=native for GCC, Clang and ICC in any version that does support it. -if ((NOT CRYPTOPP_DISABLE_CXXFLAGS_OPTIMIZATIONS) AND (NOT CRYPTOPP_CROSS_COMPILE) AND (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU|Intel")) - CHECK_CXX_COMPILER_FLAG("-march=native" COMPILER_OPT_ARCH_NATIVE_SUPPORTED) - if (COMPILER_OPT_ARCH_NATIVE_SUPPORTED AND NOT CMAKE_CXX_FLAGS MATCHES "-march=") - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") - endif() -endif() - # Link is driven through the compiler, but CXXFLAGS are not used. Also see # http://public.kitware.com/pipermail/cmake/2003-June/003967.html if (NOT (WINDOWS OR WINDOWS_STORE OR WINDOWS_PHONE)) |