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>
This commit is contained in:
Khem Raj
2020-08-17 17:50:22 -07:00
parent 302a6c4474
commit 4c77cf827c
@@ -28,6 +28,8 @@ S = "${WORKDIR}/DirectFB-${PV}"
LDFLAGS_append = " -lm"
CXXFLAGS_append_toolchain-clang = " -Wno-error=dtor-typedef"
# Workaround for linking issues seen with armv7a + gold
LDFLAGS_append_arm = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"