Skip to content
Snippets Groups Projects
Commit e6854017 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Flags

parent 3e0d8f29
No related branches found
No related tags found
No related merge requests found
...@@ -115,9 +115,10 @@ if(UNIX) ...@@ -115,9 +115,10 @@ if(UNIX)
add_definitions ("-DDAP_OS_LINUX -DDAP_OS_UNIX") add_definitions ("-DDAP_OS_LINUX -DDAP_OS_UNIX")
# add_definitions ("-DDAP_LOG_MT") # add_definitions ("-DDAP_LOG_MT")
if(DAP_RELEASE) if(DAP_RELEASE)
set(_CCOPT " -Wall -O3 -fPIC -fno-ident -ffast-math -ftree-vectorize -fno-asynchronous-unwind-tables -ffunction-sections -Wl,--gc-sections -Wl,--strip-all -std=gnu11") set(_CCOPT " -Wall -Wextra -Wno-unused-function -Wno-implicit-fallthrough -Wno-un
used-variable -Wno-unused-parameter -Wno-unused-but-set-variable -O3 -fPIC -fno-ident -ffast-math -ftree-vectorize -fno-asynchronous-unwind-tables -ffunction-sections -Wl,--gc-sections -Wl,--strip-all -std=gnu11")
else() else()
set(_CCOPT "-Wall -pg -g3 -ggdb -fno-eliminate-unused-debug-symbols") set(_CCOPT "-Wall -Wextra -Wno-unused-function -Wno-implicit-fallthrough -Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -pg -g3 -ggdb -fno-eliminate-unused-debug-symbols")
set(_LOPT "-pg") set(_LOPT "-pg")
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pg") SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pg")
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment