From fdc25cb0ca7d479051cee66a032f9ee1b68db98a Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 26 Feb 2008 17:26:50 -0800 Subject: Bug #14649: Fix build if pciaccess headers are not with other xorg headers. We failed to include the pciaccess header flags in our build. Even if the server was to include those flags for us, it would leave us broken for the tools-only case, and it's easier to just put the flags everywhere so we avoid future copy'n'paste mistakes. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 118d4b13..1c0133f1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,8 +30,8 @@ SUBDIRS = xvmc bios_reader ch7017 ch7xxx ivch sil164 tfp410 $(REGDUMPER) # _ladir passes a dummy rpath to libtool so the thing will actually link # TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. -AM_CFLAGS = @WARN_CFLAGS@ @XORG_CFLAGS@ @DRI_CFLAGS@ @XMODES_CFLAGS@ \ - -DI830_XV -DI830_USE_XAA -DI830_USE_EXA +AM_CFLAGS = @WARN_CFLAGS@ @XORG_CFLAGS@ @DRI_CFLAGS@ @PCIACCESS_CFLAGS@ \ + @XMODES_CFLAGS@ -DI830_XV -DI830_USE_XAA -DI830_USE_EXA intel_drv_la_LTLIBRARIES = intel_drv.la intel_drv_la_LDFLAGS = -module -avoid-version -- cgit v1.2.3