summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-02-08 18:03:58 (GMT)
committerNikolai Merinov <n.merinov@samsung.com>2019-02-08 18:03:58 (GMT)
commit300c31c0d5e5f19d0efc69f273ac888888f9abf2 (patch)
treee71ed391e070bd87ad0d944b08180e4b9dc1a5ad
parent17a3c0eb9ef6aad6b80c666df437cc7d0803751c (diff)
downloadair_home-sandbox/nmerinov/llvm.zip
air_home-sandbox/nmerinov/llvm.tar.gz
air_home-sandbox/nmerinov/llvm.tar.bz2
Disable clang specific warningssandbox/nmerinov/llvm
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e00841..cd4c855 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,7 +81,7 @@ FOREACH(flag ${PKGS_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror -Wno-unused-function")
ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${PKGS_LDFLAGS})
CONFIGURE_FILE(${PACKAGE_NAME}.xml.in ${PACKAGE_NAME}.xml)