Группа :: Офис
Пакет: moneymanagerex
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: fix_compile_flag.patch
Скачать
Скачать
diff --git a/3rd/CMakeLists.txt b/3rd/CMakeLists.txt
index b49403c6c..eeb06eaf2 100644
--- a/3rd/CMakeLists.txt
+++ b/3rd/CMakeLists.txt
@@ -225,7 +225,6 @@ if(NOT wxSQLite3_FOUND OR NOT (WXSQLITE3_HAVE_CODEC OR MMEX_ENCRYPTION_OPTIONAL)
endif()
if(NOT MSVC) # wxSQLite3 security ext doesn't require C 99 for MSVC
- set (CMAKE_C_FLAGS "-msse4.2 -maes")
if(";${CMAKE_C_COMPILE_FEATURES};" MATCHES ";c_std_99;")
target_compile_features(SQLite3 PRIVATE c_std_99)
elseif(";${CMAKE_C_COMPILE_FEATURES};" MATCHES ";c_restrict;")