[Mesa-dev] [PATCH 1/7] i965: use AM_CPPFLAGS instead of AM_CFLAGS/CXXFLAGS

Matt Turner mattst88 at gmail.com
Tue Jan 17 12:58:11 PST 2012


---
 src/mesa/drivers/dri/i965/Makefile.am |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
index 5512381..93937b1 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -26,7 +26,7 @@ include Makefile.sources
 # Hack to make some of the non-automake variables work.
 TOP=$(top_builddir)
 
-AM_CFLAGS = \
+AM_CPPFLAGS = \
 	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/src/ \
 	-I$(top_srcdir)/src/mapi \
@@ -39,8 +39,6 @@ AM_CFLAGS = \
 	$(API_DEFINES) \
 	$(INTEL_CFLAGS)
 
-AM_CXXFLAGS = $(AM_CFLAGS)
-
 dridir = $(DRI_DRIVER_INSTALL_DIR)
 
 if HAVE_I965_DRI
-- 
1.7.3.4



More information about the mesa-dev mailing list