aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-10-21 09:52:25 -0700
committerAndrei Gherzan <andrei@gherzan.ro>2020-10-21 17:56:14 +0100
commit09a3c11696c75593f8e475da5dfb401016c6aaca (patch)
treea3d84749c025e50d4485329a86ebf113fd46cc7e
parenta8085558b5d4e9722dd7f6268a70336b6922e24d (diff)
downloadmeta-raspberrypi-gatesgarth.tar.gz
meta-raspberrypi-gatesgarth.tar.bz2
meta-raspberrypi-gatesgarth.zip
userland: Apply format-overflow warning patch for gcc alonegatesgarth
This warning is gcc specific and causes build failures when building with clang, lets therefore remove it when build is using clang compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-graphics/userland/userland_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb
index 1138da8..24f0eaf 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -43,6 +43,9 @@ SRC_URI = "\
file://0020-openmaxil-add-pkg-config-file.patch \
file://0021-cmake-Disable-format-overflow-warning-as-error.patch \
"
+
+SRC_URI_remove_toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch"
+
S = "${WORKDIR}/git"
inherit cmake pkgconfig