mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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:
@@ -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)}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user