diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-10-30 12:45:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-01 10:41:18 +0000 |
commit | da105e157df14ae60813afbf06b0e569ae7d2630 (patch) | |
tree | 1628c9525ce5b91944912cd1358a2e3b72cbf384 | |
parent | 05bd39df1cfba2e69d5cc441c0ba001d0fe7c0db (diff) | |
download | poky-da105e157df14ae60813afbf06b0e569ae7d2630.tar.gz |
wpebackend-fdo: Add -Wno-c++11-narrowing
This commit https://github.com/Igalia/WPEBackend-fdo/commit/e4c578f23359dba4d5abbd14b108f59e1b0701c1
causes this warning due to int to uint conversion without static casts
unless its fixes properly by upstream make behaviour same as g++ where
this is flagged too but only as a warning unlike clang which is pedantic
and enables it as error
(From OE-Core rev: 0be006cc5f6df32fbc4df8c73851a960d4081ed3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb b/meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb index ba6c54412a..4a18467ea4 100644 --- a/meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb +++ b/meta/recipes-sato/webkit/wpebackend-fdo_1.12.0.bb | |||
@@ -15,6 +15,10 @@ REQUIRED_DISTRO_FEATURES = "opengl" | |||
15 | SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" | 15 | SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz" |
16 | SRC_URI[sha256sum] = "6239c9c15523410798d66315de6b491712ab30009ba180f3e0dd076d9b0074ac" | 16 | SRC_URI[sha256sum] = "6239c9c15523410798d66315de6b491712ab30009ba180f3e0dd076d9b0074ac" |
17 | 17 | ||
18 | # Especially helps compiling with clang which enable this as error when | ||
19 | # using c++11 | ||
20 | CXXFLAGS += "-Wno-c++11-narrowing" | ||
21 | |||
18 | # This is a tweak of upstream-version-is-even needed because | 22 | # This is a tweak of upstream-version-is-even needed because |
19 | # ipstream directory contains tarballs for other components as well. | 23 | # ipstream directory contains tarballs for other components as well. |
20 | UPSTREAM_CHECK_REGEX = "wpebackend-fdo-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar" | 24 | UPSTREAM_CHECK_REGEX = "wpebackend-fdo-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar" |