summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
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 /recipes-graphics
parenta8085558b5d4e9722dd7f6268a70336b6922e24d (diff)
downloadmeta-raspberrypi-09a3c11696c75593f8e475da5dfb401016c6aaca.tar.gz
userland: Apply format-overflow warning patch for gcc alone
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>
Diffstat (limited to 'recipes-graphics')
-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 = "\
43 file://0020-openmaxil-add-pkg-config-file.patch \ 43 file://0020-openmaxil-add-pkg-config-file.patch \
44 file://0021-cmake-Disable-format-overflow-warning-as-error.patch \ 44 file://0021-cmake-Disable-format-overflow-warning-as-error.patch \
45" 45"
46
47SRC_URI_remove_toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch"
48
46S = "${WORKDIR}/git" 49S = "${WORKDIR}/git"
47 50
48inherit cmake pkgconfig 51inherit cmake pkgconfig