[LyX/master] Revert "Enable optimizations"

Yuriy Skalko yuriy.skalko at gmail.com
Fri Oct 16 04:49:10 UTC 2020


commit 3ff79bccae8e4df590e807189812da7e83f0214a
Author: Yuriy Skalko <yuriy.skalko at gmail.com>
Date:   Fri Oct 16 08:17:04 2020 +0300

    Revert "Enable optimizations"
    
    This reverts commit b4cd7e9d320708187097ae701aaf1755b5a8b523.
---
 CMakeLists.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb7ecfe..8553efd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -714,9 +714,9 @@ else()
 	set(CMAKE_CXX_FLAGS       "${LYX_CXX_FLAGS} -fno-strict-aliasing " CACHE STRING "Set CXX flags" FORCE)
 	set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g3 -D_DEBUG" CACHE STRING "Set debug flags" FORCE)
 	if(MINGW)
-		set(CMAKE_CXX_FLAGS_RELEASE "-O2 -march=native -pipe -DNDEBUG" CACHE STRING "Set release flags for Mingw" FORCE)
+		set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG" CACHE STRING "Set release flags for Mingw" FORCE)
 	else()
-		set(CMAKE_CXX_FLAGS_RELEASE "-O3 -march=native -pipe -DNDEBUG" CACHE STRING "Set release flags" FORCE)
+		set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG" CACHE STRING "Set release flags" FORCE)
 	endif()
 endif()
 


More information about the lyx-cvs mailing list