Skip to contentSkip to conversation

eglinfo-fb: Pass -DMESA_EGL_NO_X11_HEADERS to cxxflags

PATCH New Khem Raj 1 participant 1 message Feb 15, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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

---
 meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/eglinfo/eglinfo-fb_1.0.0.bb +1 -0
index dc2820cda7..cccdd2073d 100644
@@ -4,3 +4,4 @@ EGLINFO_BINARY_NAME ?= "eglinfo-fb"
 require eglinfo.inc
 
 SUMMARY += "(Framebuffer version)"
+CXXFLAGS += "-DMESA_EGL_NO_X11_HEADERS=1"
Signature · 1 line
2.16.1