summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/Automake.inc3
-rw-r--r--src/gallium/auxiliary/pipe-loader/Makefile.am4
-rw-r--r--src/gallium/drivers/Makefile.am3
3 files changed, 3 insertions, 7 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index 54defea8536..fabc2af9a16 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -2,5 +2,4 @@ GALLIUM_CFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/gallium/include \
-I$(top_srcdir)/src/gallium/auxiliary \
- $(DEFINES) \
- $(PIC_FLAGS)
+ $(DEFINES)
diff --git a/src/gallium/auxiliary/pipe-loader/Makefile.am b/src/gallium/auxiliary/pipe-loader/Makefile.am
index c63dce3fe4a..cc0be7919d1 100644
--- a/src/gallium/auxiliary/pipe-loader/Makefile.am
+++ b/src/gallium/auxiliary/pipe-loader/Makefile.am
@@ -7,8 +7,6 @@ AM_CPPFLAGS = $(DEFINES) \
-I$(top_srcdir)/src/gallium/auxiliary \
-I$(top_srcdir)/src/gallium/winsys
-AM_CFLAGS = $(PIC_FLAGS)
-
noinst_LTLIBRARIES =
if HAVE_LOADER_GALLIUM
@@ -22,7 +20,7 @@ libpipe_loader_la_SOURCES = \
if HAVE_DRM_LOADER_GALLIUM
libpipe_loader_la_SOURCES += pipe_loader_drm.c
-AM_CFLAGS += $(LIBDRM_CFLAGS)
+AM_CFLAGS = $(LIBDRM_CFLAGS)
endif
# Provide compatibility with scripts for the old Mesa build system for
diff --git a/src/gallium/drivers/Makefile.am b/src/gallium/drivers/Makefile.am
index 3652a6650a9..a70b8f7fe62 100644
--- a/src/gallium/drivers/Makefile.am
+++ b/src/gallium/drivers/Makefile.am
@@ -4,8 +4,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/gallium/include \
-I$(top_srcdir)/src/gallium/auxiliary \
-I$(top_srcdir)/src/gallium/drivers \
- $(DEFINES) \
- $(PIC_FLAGS)
+ $(DEFINES)
AM_CFLAGS = $(VISIBILITY_CFLAGS)