Skip to content

cmake: forward cflags from *.pc files to waffle cflags

Fabrice Fontaine requested to merge (removed):master into master

When building mesa egl without x11 and gles2 the headers need a EGL_NO_X11 define to avoid including X11 headers.

This define EGL_NO_X11 is lost while building waffle since CFLAGS defined by pc files are not used.

EGL_NO_X11 is defined in CFLAGS from egl.pc.

Signed-off-by: Romain Naour romain.naour@gmail.com [Retrieved from: https://git.buildroot.net/buildroot/tree/package/waffle/0001-cmake-forward-cflags-from-.pc-files-to-waffle-cflags.patch] Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

Merge request reports