diff options
author | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-08 21:15:34 +0300 |
---|---|---|
committer | Nikolai Merinov <n.merinov@samsung.com> | 2019-02-08 21:19:42 +0300 |
commit | f6f826dec884db587532009f7d1d57919ebf0b48 (patch) | |
tree | 0d87cc0e0b1c1ba7c8c8ede1b1567ee737c758e4 | |
parent | 8b450467212585d1cd56059a7d0c46c78154fd67 (diff) | |
download | inputmethod-setting-sandbox/nmerinov/llvm.tar.gz inputmethod-setting-sandbox/nmerinov/llvm.tar.bz2 inputmethod-setting-sandbox/nmerinov/llvm.zip |
Disable clang specific warningssandbox/nmerinov/llvm
-rw-r--r-- | CMakeLists.txt | 8 | ||||
-rw-r--r-- | im_setting_list/CMakeLists.txt | 8 | ||||
-rw-r--r-- | im_setting_selector/CMakeLists.txt | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 97cbb70..ef89b39 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,10 +32,10 @@ FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} ${flag}") ENDFOREACH(flag) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -fPIE") -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -fPIE") -SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -fPIE") -SET(CMAKE_C_FLAGS_RELEASE "-O2 -Wall -fPIE") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Wno-unneeded-internal-declaration -fPIE") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -Wno-unneeded-internal-declaration -fPIE") +SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -Wno-unneeded-internal-declaration -fPIE") +SET(CMAKE_C_FLAGS_RELEASE "-O2 -Wall -Wno-unneeded-internal-declaration -fPIE") SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -fPIE") SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -g -fPIE") diff --git a/im_setting_list/CMakeLists.txt b/im_setting_list/CMakeLists.txt index 108edb0..1b523d0 100644 --- a/im_setting_list/CMakeLists.txt +++ b/im_setting_list/CMakeLists.txt @@ -24,10 +24,10 @@ FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} ${flag}") ENDFOREACH(flag) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -fPIE") -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -fPIE") -SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -fPIE") -SET(CMAKE_C_FLAGS_RELEASE "-O2 -Wall -fPIE") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Wno-unneeded-internal-declaration -fPIE") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -Wno-unneeded-internal-declaration -fPIE") +SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -Wno-unneeded-internal-declaration -fPIE") +SET(CMAKE_C_FLAGS_RELEASE "-O2 -Wall -Wno-unneeded-internal-declaration -fPIE") SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -fPIE") SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -g -fPIE") SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed") diff --git a/im_setting_selector/CMakeLists.txt b/im_setting_selector/CMakeLists.txt index be48bb5..5521543 100644 --- a/im_setting_selector/CMakeLists.txt +++ b/im_setting_selector/CMakeLists.txt @@ -22,10 +22,10 @@ FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} ${flag}") ENDFOREACH(flag) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -fPIE") -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -fPIE") -SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -fPIE") -SET(CMAKE_C_FLAGS_RELEASE "-O2 -Wall -fPIE") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Wno-unneeded-internal-declaration -fPIE") +SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS} -Wall -Wno-unneeded-internal-declaration -fPIE") +SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -Wall -Wno-unneeded-internal-declaration -fPIE") +SET(CMAKE_C_FLAGS_RELEASE "-O2 -Wall -Wno-unneeded-internal-declaration -fPIE") SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -fPIE") SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -g -fPIE") SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed") |