aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-rapidjson/disable-c-cxx-flag-march.patch
blob: eb9a8d900d43d3288a3d4fc34c9bfc5d43416828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,8 +33,8 @@
         set(PLAT "linux")
         set(LINK_FLAGS "-shared")
     endif(APPLE)
-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -fPIC -march=native")
-    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -fPIC -march=native")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -fPIC")
+    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -fPIC")
 else(UNIX)
     if(WIN32)
         set(PLAT "win32")