diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-10-21 09:52:25 -0700 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-10-21 17:56:14 +0100 |
commit | 09a3c11696c75593f8e475da5dfb401016c6aaca (patch) | |
tree | a3d84749c025e50d4485329a86ebf113fd46cc7e /recipes-graphics | |
parent | a8085558b5d4e9722dd7f6268a70336b6922e24d (diff) | |
download | meta-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.bb | 3 |
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 | |||
47 | SRC_URI_remove_toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch" | ||
48 | |||
46 | S = "${WORKDIR}/git" | 49 | S = "${WORKDIR}/git" |
47 | 50 | ||
48 | inherit cmake pkgconfig | 51 | inherit cmake pkgconfig |