summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-07-13 14:01:29 -0700
committerAndrei Gherzan <andrei@gherzan.ro>2020-07-14 17:16:50 +0100
commit497a90a220086c1b23f6bd53a502adfa7bb060b9 (patch)
treeb22c1227ce2d068d1825aa659d3330383d9cdc8a /recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch
parent372dc40ae390afa3d586e641952b5e639edefb8e (diff)
downloadmeta-raspberrypi-497a90a220086c1b23f6bd53a502adfa7bb060b9.tar.gz
userland: Update to 2020-06-24 top commit
Forward port patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch')
-rw-r--r--recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch11
1 files changed, 8 insertions, 3 deletions
diff --git a/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch b/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch
index 703d300..c762a9f 100644
--- a/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch
+++ b/recipes-graphics/userland/files/0021-cmake-Disable-format-overflow-warning-as-error.patch
@@ -1,7 +1,7 @@
1From 4886bd9f33727f6a16aeb3b1aa3c25e459f06581 Mon Sep 17 00:00:00 2001 1From ee842886f3c0589d6df5a0687973beb18a3be524 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 31 Mar 2020 11:51:02 -0700 3Date: Tue, 31 Mar 2020 11:51:02 -0700
4Subject: [PATCH] cmake: Disable format-overflow warning as error 4Subject: [PATCH 21/21] cmake: Disable format-overflow warning as error
5 5
6gcc10 complains about a check which could potentially be null 6gcc10 complains about a check which could potentially be null
7 7
@@ -19,6 +19,8 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 host_applications/linux/libs/bcm_host/CMakeLists.txt | 2 +- 19 host_applications/linux/libs/bcm_host/CMakeLists.txt | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-) 20 1 file changed, 1 insertion(+), 1 deletion(-)
21 21
22diff --git a/host_applications/linux/libs/bcm_host/CMakeLists.txt b/host_applications/linux/libs/bcm_host/CMakeLists.txt
23index a863cb6..f358135 100644
22--- a/host_applications/linux/libs/bcm_host/CMakeLists.txt 24--- a/host_applications/linux/libs/bcm_host/CMakeLists.txt
23+++ b/host_applications/linux/libs/bcm_host/CMakeLists.txt 25+++ b/host_applications/linux/libs/bcm_host/CMakeLists.txt
24@@ -3,7 +3,7 @@ if (WIN32) 26@@ -3,7 +3,7 @@ if (WIN32)
@@ -26,7 +28,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 else () 28 else ()
27 set(VCOS_PLATFORM pthreads) 29 set(VCOS_PLATFORM pthreads)
28- add_definitions(-Wall -Werror) 30- add_definitions(-Wall -Werror)
29+ add_definitions(-Wall) 31+ add_definitions(-Wall -Werror -Wno-error=format-overflow)
30 endif () 32 endif ()
31 33
32 # set this as we want all the source of vchostif to be available in libbcm_host 34 # set this as we want all the source of vchostif to be available in libbcm_host
35--
362.27.0
37