summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-07-18 09:43:45 -0700
committerKhem Raj <raj.khem@gmail.com>2025-07-18 21:02:45 -0700
commitc324bee29d7208344df1aa255b19d8b6be407488 (patch)
tree51ea08de8d75b50ac234fb19d958f2749f99dfd7
parentd65219ee1a3b4e19c09f8d1a5f342e663ae4d541 (diff)
downloadmeta-openembedded-c324bee29d7208344df1aa255b19d8b6be407488.tar.gz
safec: Pass Qunused-arguments when using clang
Fixes build issue since clang does not respect some options Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-core/safec/safec_3.7.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/safec/safec_3.7.1.bb b/meta-oe/recipes-core/safec/safec_3.7.1.bb
index a2f66e9a1a..4de58f5d63 100644
--- a/meta-oe/recipes-core/safec/safec_3.7.1.bb
+++ b/meta-oe/recipes-core/safec/safec_3.7.1.bb
@@ -10,6 +10,9 @@ SRCREV = "f9add9245b97c7bda6e28cceb0ee37fb7e254fd8"
10SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https \ 10SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https \
11 file://0001-strpbrk_s-Remove-unused-variable-len.patch \ 11 file://0001-strpbrk_s-Remove-unused-variable-len.patch \
12 " 12 "
13# arm-yoe-linux-gnueabi-clang: error: argument unused during compilation: '-mretpoline' [-Werror,-Wunused-command-line-argument]
14# arm-yoe-linux-gnueabi-clang: error: argument unused during compilation: '-fstack-clash-protection' [-Werror,-Wunused-command-line-argument]
15TUNE_CCARGS:append:toolchain-clang = " -Qunused-arguments"
13 16
14COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm|aarch64|mips).*-linux' 17COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm|aarch64|mips).*-linux'
15 18