summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-02-08 09:24:46 (GMT)
committerNikolai Merinov <n.merinov@samsung.com>2019-02-08 09:24:46 (GMT)
commita8481aeddac4de751383c1049548b365b62a69fd (patch)
treee269662358ab0dbb16080c23ddd216121d4c93f4
parent59c2799ace667fe952f68a5f0aa4ba9ca1e5523d (diff)
downloadlibwebappenc-sandbox/nmerinov/llvm.zip
libwebappenc-sandbox/nmerinov/llvm.tar.gz
libwebappenc-sandbox/nmerinov/llvm.tar.bz2
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 436eb74..c850266 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,6 +50,7 @@ ADD_DEFINITIONS("-fPIC")
ADD_DEFINITIONS("-Werror") # Make all warnings into errors.
ADD_DEFINITIONS("-Wall") # Generate all warnings
ADD_DEFINITIONS("-Wextra") # Generate even more extra warnings
+ADD_DEFINITIONS("-Wno-unused-function")
STRING(REGEX MATCH "([^.]*)" API_VERSION "${VERSION}")
ADD_DEFINITIONS("-DAPI_VERSION=\"$(API_VERSION)\"")