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: lucaceresoli/bug-15201-perf-libtraceevent-missing~18724 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2638482c3b2a5766d2a1377a589245664140e270;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 dc2820cda7c..cccdd2073d4 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"