From: Nikolai Merinov Date: Fri, 8 Feb 2019 12:42:02 +0000 (+0300) Subject: Disable clang specific warnings X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7921f56dfaad304b973ce0b75da9fcaf65f180f2;hp=856c7bbeac2f408cca830eb62cdcf267c4d08e17;p=platform%2Fcore%2Fuifw%2Fdali-demo.git Disable clang specific warnings --- diff --git a/build/tizen/CMakeLists.txt b/build/tizen/CMakeLists.txt index 08f1a79..068fc38 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 79870bb..11e6444 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}