[meta-raspberrypi] libwpe: Migrate build workaround from oe-core

Message ID 20211114010935.919492-1-andrei@gherzan.com
State New
Headers show
Series [meta-raspberrypi] libwpe: Migrate build workaround from oe-core | expand

Commit Message

Andrei Gherzan Nov. 14, 2021, 1:09 a.m. UTC
This was removed from oe-core[1] so we pull in the change here where it
should have been in the first place.

Fixes: https://github.com/agherzan/meta-raspberrypi/issues/893

[1] https://lists.openembedded.org/g/openembedded-core/topic/84653556

Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
---
 recipes-sato/libwpe_%.bbappend | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 recipes-sato/libwpe_%.bbappend

Patch

diff --git a/recipes-sato/libwpe_%.bbappend b/recipes-sato/libwpe_%.bbappend
new file mode 100644
index 0000000..fe1e59b
--- /dev/null
+++ b/recipes-sato/libwpe_%.bbappend
@@ -0,0 +1,2 @@ 
+# Workaround build issue with RPi userland EGL libraries.
+CFLAGS:append:rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', '-D_GNU_SOURCE', d)}"