From 7dac1b470a9c1c977f79ecc301407681e200bd1a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 1 Nov 2013 18:58:27 +0000 Subject: gallium/drivers: compact compiler flags into Automake.inc * minimise flags duplication * distingush between VISIBILITY C and CXX flags * set only required flags - C and/or CXX v2: add LLVM_CFLAGS back to AM_CFLAGS (add missing backslash) Signed-off-by: Emil Velikov --- src/gallium/drivers/svga/Makefile.am | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/gallium/drivers/svga/Makefile.am') diff --git a/src/gallium/drivers/svga/Makefile.am b/src/gallium/drivers/svga/Makefile.am index b6fed005c2d..54ae8143771 100644 --- a/src/gallium/drivers/svga/Makefile.am +++ b/src/gallium/drivers/svga/Makefile.am @@ -25,13 +25,8 @@ AUTOMAKE_OPTIONS = subdir-objects include Makefile.sources include $(top_srcdir)/src/gallium/Automake.inc -AM_CPPFLAGS = \ - -I$(top_srcdir)/src/gallium/drivers/svga/include \ - -I$(top_srcdir)/src/gallium/drivers \ - -I$(top_srcdir)/include \ - $(GALLIUM_CFLAGS) - -AM_CFLAGS = $(VISIBILITY_CFLAGS) +AM_CFLAGS = \ + $(GALLIUM_DRIVER_CFLAGS) #On some systems -std= must be added to CFLAGS to be the last -std= CFLAGS += -std=gnu99 -- cgit v1.2.3