diff options
author | 2020-10-21 09:52:25 -0700 | |
---|---|---|
committer | 2020-10-21 17:56:14 +0100 | |
commit | 09a3c11696c75593f8e475da5dfb401016c6aaca (patch) | |
tree | a3d84749c025e50d4485329a86ebf113fd46cc7e /recipes-graphics | |
parent | a8085558b5d4e9722dd7f6268a70336b6922e24d (diff) | |
download | meta-raspberrypi-09a3c11696c75593f8e475da5dfb401016c6aaca.tar.gz meta-raspberrypi-09a3c11696c75593f8e475da5dfb401016c6aaca.tar.bz2 meta-raspberrypi-09a3c11696c75593f8e475da5dfb401016c6aaca.zip |
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 = "\ 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 |