summaryrefslogtreecommitdiff
path: root/libs/libmdbx/src/cmake
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-23 12:25:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-23 12:25:28 +0300
commit19dfb93282192821ad6d555fc80bcd9732f0b0dc (patch)
treed75fd4ab4719d22e4afb0844d31ff1ceadd9f356 /libs/libmdbx/src/cmake
parent114662b245aac5d6c15db73d7dd75dfc429dc88a (diff)
libmdbx: upgrade to 0.9.2.110
Diffstat (limited to 'libs/libmdbx/src/cmake')
-rw-r--r--libs/libmdbx/src/cmake/compiler.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/libmdbx/src/cmake/compiler.cmake b/libs/libmdbx/src/cmake/compiler.cmake
index ab72b897d1..22324a64f8 100644
--- a/libs/libmdbx/src/cmake/compiler.cmake
+++ b/libs/libmdbx/src/cmake/compiler.cmake
@@ -533,7 +533,7 @@ macro(setup_compile_flags)
add_compile_flags("C;CXX" "-fexceptions")
endif()
if(CC_HAS_FCXX_EXCEPTIONS)
- add_compile_flags("CXX" "-fcxx-exceptions -frtti")
+ add_compile_flags("CXX" "-fcxx-exceptions" "-frtti")
endif()
if(MSVC)
# checks for /EHa or /clr options exists,
@@ -583,13 +583,13 @@ macro(setup_compile_flags)
endif()
if(CC_HAS_WNO_UNKNOWN_PRAGMAS AND NOT HAVE_OPENMP)
- add_compile_flags("C;CXX" -Wno-unknown-pragmas)
+ add_compile_flags("C;CXX" "-Wno-unknown-pragmas")
endif()
if(CC_HAS_SECTIONS)
- add_compile_flags("C;CXX" -ffunction-sections -fdata-sections)
+ add_compile_flags("C;CXX" "-ffunction-sections" "-fdata-sections")
elseif(MSVC)
- add_compile_flags("C;CXX" /Gy)
+ add_compile_flags("C;CXX" "/Gy")
endif()
# We must set -fno-omit-frame-pointer here, since we rely
@@ -649,11 +649,11 @@ macro(setup_compile_flags)
endif()
if(ENABLE_ASAN)
- add_compile_flags("C;CXX" -fsanitize=address)
+ add_compile_flags("C;CXX" "-fsanitize=address")
endif()
if(ENABLE_UBSAN)
- add_compile_flags("C;CXX" -fsanitize=undefined)
+ add_compile_flags("C;CXX" "-fsanitize=undefined" "-fsanitize-undefined-trap-on-error")
endif()
if(ENABLE_GCOV)