diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-03-16 22:02:24 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-03-17 11:36:44 +0100 |
commit | 1309721790b7b2aeb29658b8907c99fcaabf85a5 (patch) | |
tree | dd3897316af202184fc473be6dd0246e0ff41ad9 /CMakeLists.txt | |
parent | 2f5957984835ffc7d4f03bb0094a93c575e3eb17 (diff) |
removed private api and fix some few warnings
Change-Id: I8d4427c94ca2b88a4f1add70b065d0b6d0865286
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a29646b6..9cb17c17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,8 +23,8 @@ add_compile_options(-ffunction-sections -fdata-sections) add_compile_options(-Wl,--gc-sections) add_compile_options(-fPIC) -set(CMAKE_C_FLAGS_PROFILING "-g -O0 -pg -Wp,-U_FORTIFY_SOURCE") -set(CMAKE_C_FLAGS_DEBUG "-g -O0 -ggdb -Wp,-U_FORTIFY_SOURCE") +set(CMAKE_C_FLAGS_PROFILING "-g -O2 -pg -Wp,-U_FORTIFY_SOURCE") +set(CMAKE_C_FLAGS_DEBUG "-g -O2 -ggdb -Wp,-U_FORTIFY_SOURCE") set(CMAKE_C_FLAGS_RELEASE "-g -O2") set(CMAKE_C_FLAGS_CCOV "-g -O2 --coverage") |