aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2019-04-03 14:58:04 +0200
committerJulien Dessaux2019-04-03 14:58:04 +0200
commit0c8a95cb2e4f6446370d2db0be3f6c8681235259 (patch)
treecfe6f898c6639e1ca7fd6c0c210043ee9bb5fa25
parentAdded argument parsing with libparg, along with usefull running modes (diff)
downloadbastion-0c8a95cb2e4f6446370d2db0be3f6c8681235259.tar.gz
bastion-0c8a95cb2e4f6446370d2db0be3f6c8681235259.tar.bz2
bastion-0c8a95cb2e4f6446370d2db0be3f6c8681235259.zip
Deactivate optimisations for RELWITHDEBINFO release type
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 29e1aa6..8512b8a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ set(CMAKE_C_FLAGS "-Wall -Werror -Wextra -pedantic")
set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb3 -pg -fsanitize=address")
set(CMAKE_C_FLAGS_RELEASE "-O2")
set(CMAKE_C_FLAGS_MinSizeRel "-Os")
-set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -ggdb3 -pg")
+set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O0 -ggdb3 -pg")
option(LIBSSH_VERBOSE_OUTPUT "whether or not verbose output for libssh mode is activated" OFF)
option(SESSION_RECORDING "whether or not recording feature based on lib termrec is activated" ON)