Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan White <support@dmapps.us>2018-01-27 16:11:59 +0300
committerJanek Bevendorff <janek@jbev.net>2018-02-01 23:40:47 +0300
commitd9119877872101493dbf5ad44d14afcd10afcd26 (patch)
tree2bd019b14de98b5c825b939a54d029f545e015c4 /CMakeLists.txt
parent8218c728a8f9bd6c925f5bb1900234485fe75895 (diff)
Ensure yubikey libs are dynamic; bump to c99
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e63c6d29a..686db7362 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -197,14 +197,13 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-z,relro,-z,now")
endif()
+add_gcc_compiler_cflags("-std=c99")
add_gcc_compiler_cxxflags("-std=c++11")
if(APPLE)
add_gcc_compiler_cxxflags("-stdlib=libc++")
endif()
-add_gcc_compiler_cflags("-ansi")
-
if(WITH_DEV_BUILD)
add_definitions(-DQT_DEPRECATED_WARNINGS -DGCRYPT_NO_DEPRECATED)
endif()