diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2017-06-02 15:42:43 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-04 11:15:01 +0100 |
commit | cc75f693bde412edd0a1aa4fd4e92fb29b492b76 (patch) | |
tree | 40b1c419325285e49137c6329167b82f4cafdec8 /meta/recipes-devtools/cmake/cmake | |
parent | 2fd0757ae7fd63bc93a4ce8579c6ba0cdbb4c1cd (diff) | |
download | openembedded-core-contrib-cc75f693bde412edd0a1aa4fd4e92fb29b492b76.tar.gz |
cmake: Upgrade to 3.8.2
There was a set of changes, those are:
- CMake now requires librhash for build and as there is no other
users in OE-Core we make it use its internal copy instead;
- Copyright.txt checksum has change due new contrubutors and 2017
year additions;
- Patch avoid-gcc-warnings-with-Wstrict-prototypes.patch was removed
as it is not need anymore;
- Patch 0001-KWIML-tests-Remove-format-security-from-flags.patch was
removed as it is included in this release.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/cmake/cmake')
-rw-r--r-- | meta/recipes-devtools/cmake/cmake/0001-KWIML-tests-Remove-format-security-from-flags.patch | 33 | ||||
-rw-r--r-- | meta/recipes-devtools/cmake/cmake/avoid-gcc-warnings-with-Wstrict-prototypes.patch | 42 |
2 files changed, 0 insertions, 75 deletions
diff --git a/meta/recipes-devtools/cmake/cmake/0001-KWIML-tests-Remove-format-security-from-flags.patch b/meta/recipes-devtools/cmake/cmake/0001-KWIML-tests-Remove-format-security-from-flags.patch deleted file mode 100644 index 190133ba5c..0000000000 --- a/meta/recipes-devtools/cmake/cmake/0001-KWIML-tests-Remove-format-security-from-flags.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 0941395b146804abcd87004589ff6e7a2953412d Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <jussi.kukkonen@intel.com> -Date: Thu, 16 Mar 2017 14:39:04 +0200 -Subject: [PATCH] KWIML tests: Remove format-security from flags - -For the tests where "format" is removed from flags, "format-security" -should be removed as well. Otherwise building cmake with -"-Wformat -Wformat-security" fails: - -| cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security] - -Upstream-Status: Backport [part of commit f77420cfc9] -Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> ---- - Utilities/KWIML/test/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Utilities/KWIML/test/CMakeLists.txt b/Utilities/KWIML/test/CMakeLists.txt -index 4f6f37b..1bf93bb 100644 ---- a/Utilities/KWIML/test/CMakeLists.txt -+++ b/Utilities/KWIML/test/CMakeLists.txt -@@ -10,7 +10,7 @@ endif() - # Suppress printf/scanf format warnings; we test if the sizes match. - foreach(lang C CXX) - if(KWIML_LANGUAGE_${lang} AND CMAKE_${lang}_COMPILER_ID STREQUAL "GNU") -- set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format") -+ set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format -Wno-format-security") - endif() - endforeach() - --- -2.1.4 - diff --git a/meta/recipes-devtools/cmake/cmake/avoid-gcc-warnings-with-Wstrict-prototypes.patch b/meta/recipes-devtools/cmake/cmake/avoid-gcc-warnings-with-Wstrict-prototypes.patch deleted file mode 100644 index 8b8d4802ee..0000000000 --- a/meta/recipes-devtools/cmake/cmake/avoid-gcc-warnings-with-Wstrict-prototypes.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 4bc17345c01ea467099e28c7df30c23ace9e7811 Mon Sep 17 00:00:00 2001 -From: Andre McCurdy <armccurdy@gmail.com> -Date: Fri, 14 Oct 2016 16:26:58 -0700 -Subject: [PATCH] CheckFunctionExists.c: avoid gcc warnings with - -Wstrict-prototypes - -Avoid warnings (and therefore build failures etc) if a user happens -to add -Wstrict-prototypes to CFLAGS. - - | $ gcc --version - | gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 - | - | $ gcc -Wstrict-prototypes -Werror -DCHECK_FUNCTION_EXISTS=pthread_create -o foo.o -c Modules/CheckFunctionExists.c - | Modules/CheckFunctionExists.c:7:3: error: function declaration isn't a prototype [-Werror=strict-prototypes] - | CHECK_FUNCTION_EXISTS(); - | ^ - | cc1: all warnings being treated as errors - | - -Upstream-Status: Pending - -Signed-off-by: Andre McCurdy <armccurdy@gmail.com> ---- - Modules/CheckFunctionExists.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Modules/CheckFunctionExists.c b/Modules/CheckFunctionExists.c -index 2304000..224e340 100644 ---- a/Modules/CheckFunctionExists.c -+++ b/Modules/CheckFunctionExists.c -@@ -4,7 +4,7 @@ - extern "C" - #endif - char -- CHECK_FUNCTION_EXISTS(); -+ CHECK_FUNCTION_EXISTS(void); - #ifdef __CLASSIC_C__ - int main() - { --- -1.9.1 - |