qtwebkit: Fix build when x11 is not in distro features

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj
2022-03-06 20:36:57 -08:00
committed by Martin Jansa
parent 121c1bfd40
commit 32e6203c8c

View File

@@ -52,6 +52,7 @@ ARM_INSTRUCTION_SET:armv7ve = "thumb"
# just use -fpermissive in this case like fedora did:
# https://bugzilla.redhat.com/show_bug.cgi?id=1582954
CXXFLAGS += "-fpermissive"
CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
EXTRA_OECMAKE += " \
-DPORT=Qt \