summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-12-05 23:00:23 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-12-05 23:00:23 +0000
commit9586b853abcd77386151f04ff74371e56f968dde (patch)
treebaeb11c9fab9725e2bdade8c873ee76321d46e69
parentc892002634d27a201b52c036d390b53e9120225a (diff)
gcc 2.95 doesn't use the same serch rules for '-include' as gcc 3.
So fix build in a separate obj directory with gcc 2.95.
-rw-r--r--xserver/hw/xfree86/xf1bpp/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/hw/xfree86/xf1bpp/Makefile.am b/xserver/hw/xfree86/xf1bpp/Makefile.am
index e7c873ae8..762e7d42f 100644
--- a/xserver/hw/xfree86/xf1bpp/Makefile.am
+++ b/xserver/hw/xfree86/xf1bpp/Makefile.am
@@ -60,7 +60,7 @@ libxf1bppmfb_a_SOURCES = \
libxf1bpp_la_SOURCES = $(libxf1bppmfb_a_SOURCES) $(libxf1bppgen_a_SOURCES)
-AM_CFLAGS = -DXF86MONO -include mfbmap.h $(DIX_CFLAGS) $(XORG_CFLAGS)
+AM_CFLAGS = -DXF86MONO -include ${srcdir}/mfbmap.h $(DIX_CFLAGS) $(XORG_CFLAGS)
INCLUDES = $(XORG_INCS) -I$(top_srcdir)/mfb
mfbseg.c: