mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
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>
(cherry picked from commit c324bee29d)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
parent
9684bf8742
commit
b5383b8a17
|
|
@ -11,6 +11,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'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user