summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/svga
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2013-11-02 02:02:47 +0000
committerEmil Velikov <[email protected]>2013-11-16 16:31:03 +0000
commitf7ac1d5989699d31f02b120d3f8cb51b7159dbb5 (patch)
tree1496bfdd66ce80107b664c8a6a84fba6ae56e74f /src/gallium/winsys/svga
parent096b988360158d4cf3c92d52d26f9f098774ba1d (diff)
gallium/winsys: compact compiler flags into Automake.inc
Cleanup the duplicating flags and consolidate into a sigle variable. Note: this patch adds VISIBILITY_CFLAGS to the following targets * freedreno/drm * i915/{drm,sw} * nouveau/drm * sw/fbdev * sw/null * sw/wayland * sw/wrapper * sw/xlib Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/winsys/svga')
-rw-r--r--src/gallium/winsys/svga/drm/Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/winsys/svga/drm/Makefile.am b/src/gallium/winsys/svga/drm/Makefile.am
index d7ada3c6b7a..69398b85759 100644
--- a/src/gallium/winsys/svga/drm/Makefile.am
+++ b/src/gallium/winsys/svga/drm/Makefile.am
@@ -23,16 +23,13 @@
include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
-AM_CPPFLAGS = \
+AM_CFLAGS = \
-I$(top_srcdir)/src/gallium/drivers/svga \
-I$(top_srcdir)/src/gallium/drivers/svga/include \
- -I$(top_srcdir)/include \
-I$(top_srcdir)/src/gallium/drivers \
- $(GALLIUM_CFLAGS) \
+ $(GALLIUM_WINSYS_CFLAGS) \
$(LIBDRM_CFLAGS)
-AM_CFLAGS = $(VISIBILITY_CFLAGS)
-
#On some systems -std= must be added to CFLAGS to be the last -std=
CFLAGS += -std=gnu99 -D_FILE_OFFSET_BITS=64