diff mbox

[i-g-t,PATH] debugger: Include path for cairo to fix compiler error

Message ID 1362029872-14341-1-git-send-email-haihao.xiang@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Xiang, Haihao Feb. 28, 2013, 5:37 a.m. UTC
From: "Xiang, Haihao" <haihao.xiang@intel.com>

  CC     eudb.o
In file included from eudb.c:44:0:
../lib/drmtest.h:34:19: fatal error: cairo.h: No such file or directory
compilation terminated.
make[3]: *** [eudb.o] Error 1

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
---
 debugger/Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Lespiau, Damien Feb. 28, 2013, 12:05 p.m. UTC | #1
On Thu, Feb 28, 2013 at 01:37:52PM +0800, Xiang, Haihao wrote:
> From: "Xiang, Haihao" <haihao.xiang@intel.com>
> 
>   CC     eudb.o
> In file included from eudb.c:44:0:
> ../lib/drmtest.h:34:19: fatal error: cairo.h: No such file or directory
> compilation terminated.
> make[3]: *** [eudb.o] Error 1
> 
> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
> ---
>  debugger/Makefile.am |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/debugger/Makefile.am b/debugger/Makefile.am
> index d76e2ac..fde6e02 100644
> --- a/debugger/Makefile.am
> +++ b/debugger/Makefile.am
> @@ -11,6 +11,7 @@ AM_CPPFLAGS = 			\
>  AM_CFLAGS = 			\
>  	$(DRM_CFLAGS) 		\
>  	$(PCIACCESS_CFLAGS) 	\
> -	$(CWARNFLAGS)
> +	$(CWARNFLAGS)		\
> +	$(CAIRO_CFLAGS)

I already have a similar patch in the assembler branch:

  http://cgit.freedesktop.org/~damien/intel-gpu-tools/commit/?h=assembler-rebased&id=5e8edce34fe53d02cb923d33152746202247337f

I'm waiting on the fdo admins to get access to the repository to push
the branch, but I guess I'll nag someone to push the branch for me
sooner rather than later.
diff mbox

Patch

diff --git a/debugger/Makefile.am b/debugger/Makefile.am
index d76e2ac..fde6e02 100644
--- a/debugger/Makefile.am
+++ b/debugger/Makefile.am
@@ -11,6 +11,7 @@  AM_CPPFLAGS = 			\
 AM_CFLAGS = 			\
 	$(DRM_CFLAGS) 		\
 	$(PCIACCESS_CFLAGS) 	\
-	$(CWARNFLAGS)
+	$(CWARNFLAGS)		\
+	$(CAIRO_CFLAGS)
 
 LDADD = $(top_builddir)/lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS)