projects
/
platform
/
core
/
security
/
krate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab0203a
)
Disable clang specific warnings
sandbox/nmerinov/llvm
author
Nikolai Merinov
<n.merinov@samsung.com>
Fri, 8 Feb 2019 14:07:01 +0000
(17:07 +0300)
committer
Nikolai Merinov
<n.merinov@samsung.com>
Fri, 8 Feb 2019 14:07:01 +0000
(17:07 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index a338798e829fbd3fc25c7c6826053f91758da21d..b3ea5e48eabdc06d0a08aef9011172e6c546820d 100755
(executable)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-40,7
+40,7
@@
else()
SET(CXX_STD "c++11")
endif()
-SET(COMPILE_BASE_FLAGS "-g -fPIC -Werror -Wall")
+SET(COMPILE_BASE_FLAGS "-g -fPIC -Werror -Wall
-Wno-unused-variable -Wno-unused-function
")
LINK_LIBRARIES("-Wl,--as-needed -Wl,--no-whole-archive")
SET(CMAKE_C_FLAGS_PROFILING "${COMPILE_BASE_FLAGS} -O0 -pg")
SET(CMAKE_CXX_FLAGS_PROFILING "${COMPILE_BASE_FLAGS} -O0 -pg -std=${CXX_STD} -fno-rtti")