summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-02-08 13:42:10 +0300
committerNikolai Merinov <n.merinov@samsung.com>2019-02-08 13:42:10 +0300
commita233e14736f8b7f6ec621f02f6bb7539092354b2 (patch)
treea634cc6819c040fe2503885f03a0553b1a2b01e4
parentf9cc42a63ccdb75d4caa6e39bf82a2a70a3ec0ce (diff)
downloadcert-checker-sandbox/nmerinov/llvm.tar.gz
cert-checker-sandbox/nmerinov/llvm.tar.bz2
cert-checker-sandbox/nmerinov/llvm.zip
Disable clang specific warningssandbox/nmerinov/llvm
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2ff70e3..e86667f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,7 @@ ADD_DEFINITIONS("-Werror") # Make all warnings into errors.
ADD_DEFINITIONS("-Wall") # Generate all warnings
ADD_DEFINITIONS("-Wextra") # Generate even more extra warnings
ADD_DEFINITIONS("-fvisibility=hidden -fPIE") # Hide symbols by default
+ADD_DEFINITIONS("-Wno-deprecated-declarations")
# Set library flag
ADD_DEFINITIONS("-fPIC")