diff options
author | Julien Dessaux | 2019-04-04 11:34:36 +0200 |
---|---|---|
committer | Julien Dessaux | 2019-04-04 11:34:36 +0200 |
commit | 2290958cce5f9c8c4e97ac65c839cbd38b07e41d (patch) | |
tree | e2955bdfc0bfb338cb51585242cbfbc7fd7203e1 | |
parent | Deactivate optimisations for RELWITHDEBINFO release type (diff) | |
download | bastion-2290958cce5f9c8c4e97ac65c839cbd38b07e41d.tar.gz bastion-2290958cce5f9c8c4e97ac65c839cbd38b07e41d.tar.bz2 bastion-2290958cce5f9c8c4e97ac65c839cbd38b07e41d.zip |
Removed unused profiling flags that cause failed builds on alpine linux
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8512b8a..0cc4c51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,10 +14,10 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) endif() set(CMAKE_C_FLAGS "-Wall -Werror -Wextra -pedantic") -set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb3 -pg -fsanitize=address") +set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb3 -fsanitize=address") set(CMAKE_C_FLAGS_RELEASE "-O2") set(CMAKE_C_FLAGS_MinSizeRel "-Os") -set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O0 -ggdb3 -pg") +set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O0 -ggdb3") 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) |