diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-12-05 17:39:41 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-12-17 09:26:39 -0800 |
commit | 71202a223c695e3a6d06ab7ed10f7b2cbd0c215f (patch) | |
tree | 2b2f3547c4f2527b8c77328529b7a50088042d13 /conf | |
parent | 902f496966c2360c40b8d241ba0e309dc8ea2ab1 (diff) | |
download | meta-clang-71202a223c695e3a6d06ab7ed10f7b2cbd0c215f.tar.gz |
ot-br-posix: Disable sign-compare warning as error
Use same way for seatd
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/nonclangable.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 6eeb2ca..4f9f3ff 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -291,7 +291,8 @@ CFLAGS:append:pn-qtbase:toolchain-clang:arm = " -no-integrated-as" | |||
291 | #../git/common/connection.c:154:55: error: comparison of integers of different signs: 'unsigned long' and 'int' [-Werror,-Wsign-compare] | 291 | #../git/common/connection.c:154:55: error: comparison of integers of different signs: 'unsigned long' and 'int' [-Werror,-Wsign-compare] |
292 | # for (cmsg = CMSG_FIRSTHDR(msg); cmsg != NULL; cmsg = CMSG_NXTHDR(msg, cmsg)) { | 292 | # for (cmsg = CMSG_FIRSTHDR(msg); cmsg != NULL; cmsg = CMSG_NXTHDR(msg, cmsg)) { |
293 | # ^~~~~~~~~~~~~~~~~~~~~~ | 293 | # ^~~~~~~~~~~~~~~~~~~~~~ |
294 | CFLAGS:append:pn-seatd:toolchain-clang = " -Wno-sign-compare" | 294 | CFLAGS:append:pn-seatd:toolchain-clang = " -Wno-error=sign-compare" |
295 | CXXFLAGS:append:pn-ot-br-posix:toolchain-clang = " -Wno-error=sign-compare" | ||
295 | 296 | ||
296 | # -fno-tree-vrp is gcc specific | 297 | # -fno-tree-vrp is gcc specific |
297 | CXXFLAGS:remove:pn-mozjs:toolchain-clang = "-fno-tree-vrp" | 298 | CXXFLAGS:remove:pn-mozjs:toolchain-clang = "-fno-tree-vrp" |