From 09a3c11696c75593f8e475da5dfb401016c6aaca Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 21 Oct 2020 09:52:25 -0700 Subject: [PATCH] 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 --- recipes-graphics/userland/userland_git.bb | 3 +++ 1 file changed, 3 insertions(+) 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