@@ -10,6 +10,9 @@ SRCREV = "f9add9245b97c7bda6e28cceb0ee37fb7e254fd8"
SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https \
file://0001-strpbrk_s-Remove-unused-variable-len.patch \
"
+# arm-yoe-linux-gnueabi-clang: error: argument unused during compilation: '-mretpoline' [-Werror,-Wunused-command-line-argument]
+# arm-yoe-linux-gnueabi-clang: error: argument unused during compilation: '-fstack-clash-protection' [-Werror,-Wunused-command-line-argument]
+TUNE_CCARGS:append:toolchain-clang = " -Qunused-arguments"
COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm|aarch64|mips).*-linux'
Fixes build issue since clang does not respect some options Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-oe/recipes-core/safec/safec_3.7.1.bb | 3 +++ 1 file changed, 3 insertions(+)