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/nouveau/Makefile.am | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/gallium/drivers/nouveau') diff --git a/src/gallium/drivers/nouveau/Makefile.am b/src/gallium/drivers/nouveau/Makefile.am index 369dadabdd2..7c052231bfa 100644 --- a/src/gallium/drivers/nouveau/Makefile.am +++ b/src/gallium/drivers/nouveau/Makefile.am @@ -25,14 +25,12 @@ AUTOMAKE_OPTIONS = subdir-objects include Makefile.sources include $(top_srcdir)/src/gallium/Automake.inc -noinst_LTLIBRARIES = libnouveau.la - AM_CPPFLAGS = \ - -I$(top_srcdir)/src/gallium/drivers/nouveau/include \ - $(GALLIUM_CFLAGS) \ + $(GALLIUM_DRIVER_CFLAGS) \ $(LIBDRM_CFLAGS) \ - $(NOUVEAU_CFLAGS) \ - $(VISIBILITY_CFLAGS) + $(NOUVEAU_CFLAGS) + +noinst_LTLIBRARIES = libnouveau.la libnouveau_la_SOURCES = \ $(C_SOURCES) \ -- cgit v1.2.3