aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-rapidjson/disable-c-cxx-flag-march.patch
blob: 117e5e2f9d0e9d3500d8431f798e484cb534d07a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,10 +33,6 @@
     endif(APPLE)
     add_compile_options(-g -Wall -fPIC)
     include(CheckCXXCompilerFlag)
-    CHECK_CXX_COMPILER_FLAG("-march=native" COMPILER_SUPPORTS_ARCH_NATIVE)
-    if (COMPILER_SUPPORTS_ARCH_NATIVE)
-        add_compile_options(-march=native)
-    endif()
 else(UNIX)
     if(WIN32)
         set(PLAT "win32")