summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/egl/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/egl/Makefile.am b/src/gallium/state_trackers/egl/Makefile.am
index 828bf13e27c..0ea218d37ce 100644
--- a/src/gallium/state_trackers/egl/Makefile.am
+++ b/src/gallium/state_trackers/egl/Makefile.am
@@ -25,12 +25,13 @@ AUTOMAKE_OPTIONS = subdir-objects
include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
-AM_CFLAGS = $(GALLIUM_CFLAGS)
+AM_CFLAGS = \
+ $(GALLIUM_CFLAGS) \
+ $(VISIBILITY_CFLAGS)
+
AM_CPPFLAGS = \
- $(VISIBILITY_CFLAGS) \
-I$(top_srcdir)/src/egl/main \
- -I$(top_builddir)/src/egl/wayland/wayland-drm/ \
- -I$(top_srcdir)/include
+ -I$(top_builddir)/src/egl/wayland/wayland-drm/
noinst_LTLIBRARIES = libegl.la
libegl_la_SOURCES = $(common_FILES)