diff options
author | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-08 15:42:02 +0300 |
---|---|---|
committer | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-08 15:51:12 +0300 |
commit | 7921f56dfaad304b973ce0b75da9fcaf65f180f2 (patch) | |
tree | 64ecdbe7022cf9b7054a25fab6e27dcb3663eb2a | |
parent | 856c7bbeac2f408cca830eb62cdcf267c4d08e17 (diff) | |
download | dali-demo-sandbox/nmerinov/llvm.tar.gz dali-demo-sandbox/nmerinov/llvm.tar.bz2 dali-demo-sandbox/nmerinov/llvm.zip |
Disable clang specific warningssandbox/nmerinov/llvm
-rw-r--r-- | build/tizen/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | packaging/com.samsung.dali-demo.spec | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/tizen/CMakeLists.txt b/build/tizen/CMakeLists.txt index 08f1a790..068fc382 100644 --- a/build/tizen/CMakeLists.txt +++ b/build/tizen/CMakeLists.txt @@ -185,7 +185,7 @@ ENDIF(INTERNATIONALIZATION) ########################################################################### -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${REQUIRED_CFLAGS} ${DALI_DEMO_CFLAGS} -Werror -Wall -fPIE") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${REQUIRED_CFLAGS} ${DALI_DEMO_CFLAGS} -Werror -Wall -fPIE -Wno-unused-const-variable -Wno-mismatched-tags -Wno-unused-private-field -Wno-unneeded-internal-declaration") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_C_FLAGS}") INCLUDE_DIRECTORIES(${ROOT_SRC_DIR}) diff --git a/packaging/com.samsung.dali-demo.spec b/packaging/com.samsung.dali-demo.spec index 79870bbd..11e64441 100755 --- a/packaging/com.samsung.dali-demo.spec +++ b/packaging/com.samsung.dali-demo.spec @@ -61,7 +61,7 @@ of the capability of the toolkit. ############################## %build PREFIX="/usr" -CXXFLAGS+=" -Wall -g -O2" +CXXFLAGS+=" -Wall -g -O2 -Wno-unused-const-variable -Wno-mismatched-tags -Wno-unused-private-field -Wno-unneeded-internal-declaration" LDFLAGS+=" -Wl,--rpath=$PREFIX/lib -Wl,--as-needed" %ifarch %{arm} |