From 2c037196bcc50cb299bc768124404b38cb67c087 Mon Sep 17 00:00:00 2001
From: Matthieu Herrb <matthieu.herrb@laas.fr>
Date: Sun, 20 May 2012 10:59:09 +0200
Subject: src/Makefile.am: set AM_CFLAGS correctly.


diff --git a/src/Makefile.am b/src/Makefile.am
index dbb7ae0..e7fae3f 100644
--- src/Makefile.am
+++ src/Makefile.am
@@ -24,6 +24,7 @@
 # -avoid-version prevents gratuitous .0.0.0 version numbers on the end
 # _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 = $(XORG_CFLAGS)
 @DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la
 @DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version
 @DRIVER_NAME@_drv_ladir = @inputdir@
-- 
cgit v0.10.2