radeonsi:optimizing SET_CONTEXT_REG for shaders GS
[mesa.git] / src / gallium / drivers / r600 / Makefile.am
index 2b1ffb5bba8d9182737abc50ab75986d2f790c98..1138de985dd861a1fdaf072399dd8805ae8c0cda 100644 (file)
@@ -9,11 +9,13 @@ BUILT_SOURCES = $(R600_GENERATED_FILES)
 AM_CFLAGS = \
        $(GALLIUM_DRIVER_CFLAGS) \
        $(RADEON_CFLAGS) \
-       -I$(top_srcdir)/src/amd/common
+       $(LIBELF_CFLAGS) \
+       -I$(top_srcdir)/src/amd/common -Wstrict-overflow=0
 
 AM_CXXFLAGS = \
        $(GALLIUM_DRIVER_CXXFLAGS) \
        $(RADEON_CFLAGS) \
+       $(LIBELF_CFLAGS) \
        -I$(top_srcdir)/src/amd/common
 
 noinst_LTLIBRARIES = libr600.la
@@ -25,8 +27,7 @@ libr600_la_SOURCES = \
 if HAVE_GALLIUM_LLVM
 
 AM_CFLAGS += \
-       $(LLVM_CFLAGS) \
-       -I$(top_srcdir)/src/gallium/drivers/radeon/
+       $(LLVM_CFLAGS)
 
 endif
 
@@ -41,4 +42,5 @@ CLEANFILES = \
 EXTRA_DIST = \
        egd_tables.py \
        sb/notes.markdown \
-       sb/sb_bc_fmt_def.inc
+       sb/sb_bc_fmt_def.inc \
+       meson.build