From 69d639ba8b3cfd95cfbb12b861dbe2eda53f2e25 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 18 Jan 2013 15:08:28 +0000 Subject: configure.ac: Compute the required llvm static libraries only once In order to determine which static LLVM libraries are needed we pass a list of components to llvm-config and it generates the list of library dependencies for us. The advantage of only calling llvm-config one time is that it can determine if two components depend on the same library and then add it to the output list only once. The old practice of having each driver call llvm-config to add its own dependencies to $(LLVM_LIBS) caused many libraries to be added to this variable multiple times. --- src/gallium/drivers/r600/Makefile.am | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gallium/drivers/r600/Makefile.am') diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am index ac8e12b937d..995261bd536 100644 --- a/src/gallium/drivers/r600/Makefile.am +++ b/src/gallium/drivers/r600/Makefile.am @@ -21,10 +21,6 @@ libr600_la_SOURCES += \ libr600_la_LIBADD = ../radeon/libllvmradeon@VERSION@.la -libr600_la_LDFLAGS = \ - $(LLVM_LDFLAGS) \ - $(shell $(LLVM_CONFIG) --libs asmparser bitreader ipo) - AM_CFLAGS += \ $(LLVM_CFLAGS) \ -I$(top_srcdir)/src/gallium/drivers/radeon/ -- cgit v1.2.3