diff mbox series

eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflags

Message ID 20180215074925.35300-1-raj.khem@gmail.com
State Accepted
Commit 2638482c3b2a5766d2a1377a589245664140e270
Headers show
Series eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflags | expand

Commit Message

Khem Raj Feb. 15, 2018, 7:49 a.m. UTC
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 <raj.khem@gmail.com>

---
 meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.16.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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"