From dbfd78c6448fc9ab8d60517c8d7abff746a7681c Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Mon, 5 Feb 2018 12:56:10 +0100 Subject: tests/testdisplay: Explicitly use GLIB_CFLAGS testdisplay.h includes the glib.h header file but the Makefile does not explicitly pass a -I option with the path containing that header, hence causing the build to fail. Note that this doesn't seem to happen with a recent enough version of cairo, which implicitly provides the correct -I option. Signed-off-by: Thierry Reding Reviewed-by: Arkadiusz Hiler --- tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index 1b9a7b0a..8472a6bf 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -149,6 +149,8 @@ kms_chamelium_LDADD = $(LDADD) $(XMLRPC_LIBS) $(LIBUDEV_LIBS) audio_CFLAGS = $(AM_CFLAGS) $(ALSA_CFLAGS) audio_LDADD = $(LDADD) $(ALSA_LIBS) +testdisplay_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS) + amdgpu_amd_basic_CFLAGS = $(AM_CFLAGS) $(DRM_AMDGPU_CFLAGS) amdgpu_amd_basic_LDADD = $(LDADD) $(DRM_AMDGPU_LIBS) amdgpu_amd_cs_nop_CFLAGS = $(AM_CFLAGS) $(DRM_AMDGPU_CFLAGS) -- cgit v1.2.3