[Mesa-dev] [PATCH v2 2/2] intel: automake: move INTEL_CFLAGS as applicable
Emil Velikov
emil.l.velikov at gmail.com
Tue Mar 28 14:47:40 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Only common/decoder.[ch] requires it [for intel_aub.h].
v2: The code was moved to from intel/tools to intel/common,
update accordingly.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/intel/Makefile.am | 1 -
src/intel/Makefile.common.am | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/Makefile.am b/src/intel/Makefile.am
index 63bfd45fdd1..269d73dfcb0 100644
--- a/src/intel/Makefile.am
+++ b/src/intel/Makefile.am
@@ -37,7 +37,6 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/mesa \
-I$(top_srcdir)/src/gallium/auxiliary \
-I$(top_srcdir)/src/gallium/include \
- $(INTEL_CFLAGS) \
$(VALGRIND_CFLAGS) \
$(DEFINES)
diff --git a/src/intel/Makefile.common.am b/src/intel/Makefile.common.am
index 848598457ca..a772b5fcd12 100644
--- a/src/intel/Makefile.common.am
+++ b/src/intel/Makefile.common.am
@@ -21,4 +21,5 @@
noinst_LTLIBRARIES += common/libintel_common.la
+common_libintel_common_la_CFLAGS = $(AM_CFLAGS) $(LIBDRM_CFLAGS)
common_libintel_common_la_SOURCES = $(COMMON_FILES) $(DECODER_FILES)
--
2.11.1
More information about the mesa-dev
mailing list