1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/lua-rapidjson/disable-c-cxx-flag-march.patch
2021-05-31 00:25:20 +02:00

13 lines
382 B
Diff

--- 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")