From: Khem Raj Date: Thu, 15 Feb 2018 07:49:25 +0000 (-0800) Subject: eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflags X-Git-Tag: uninative-1.8~293 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2638482c3b2a5766d2a1377a589245664140e270;p=openembedded-core.git eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflags This helps in compiling on graphics drivers which use this define to differentiate between eglfs and x11 headers e.g. mali or mesa Signed-off-by: Khem Raj Signed-off-by: Ross Burton --- diff --git a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb index dc2820cda7..cccdd2073d 100644 --- a/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb +++ b/meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb @@ -4,3 +4,4 @@ EGLINFO_BINARY_NAME ?= "eglinfo-fb" require eglinfo.inc SUMMARY += "(Framebuffer version)" +CXXFLAGS += "-DMESA_EGL_NO_X11_HEADERS=1"