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>
This commit is contained in:
Khem Raj
2020-10-21 09:52:25 -07:00
committed by Andrei Gherzan
parent a8085558b5
commit 09a3c11696

View File

@ -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