diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-17 17:50:22 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-17 17:52:09 -0700 |
commit | 4c77cf827cdd3f292bf711c0c0f6cb43e314bcbf (patch) | |
tree | 491028f945615c2f11e2ce047da3614a6b412875 /meta-oe | |
parent | 302a6c447456113255a4ec705aa4a17f404beb58 (diff) | |
download | meta-openembedded-4c77cf827cdd3f292bf711c0c0f6cb43e314bcbf.tar.gz |
directfb: Disable dtor-typedef warning with clang11
Fixes build
src/core/Renderer.cpp:2021:21: error: destructor cannot be declared using a typedef 'DirectFB::Renderer::Throttle' (aka 'DirectFB::Throttle') of the class name [-Wdtor-typedef]
Renderer::Throttle::~Throttle()
^
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-graphics/directfb/directfb.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc b/meta-oe/recipes-graphics/directfb/directfb.inc index 65fd89e6f..f7dc66843 100644 --- a/meta-oe/recipes-graphics/directfb/directfb.inc +++ b/meta-oe/recipes-graphics/directfb/directfb.inc | |||
@@ -28,6 +28,8 @@ S = "${WORKDIR}/DirectFB-${PV}" | |||
28 | 28 | ||
29 | LDFLAGS_append = " -lm" | 29 | LDFLAGS_append = " -lm" |
30 | 30 | ||
31 | CXXFLAGS_append_toolchain-clang = " -Wno-error=dtor-typedef" | ||
32 | |||
31 | # Workaround for linking issues seen with armv7a + gold | 33 | # Workaround for linking issues seen with armv7a + gold |
32 | LDFLAGS_append_arm = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | 34 | LDFLAGS_append_arm = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
33 | 35 | ||