aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/Makefile.am
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-01-18 15:08:28 +0000
committerTom Stellard <[email protected]>2013-01-24 15:44:53 +0000
commit69d639ba8b3cfd95cfbb12b861dbe2eda53f2e25 (patch)
tree609edce8acba60cbe0a3d099c61d4e93b5c59af3 /src/gallium/drivers/r600/Makefile.am
parent35f0dc2cc71f49ff8de8ba7a0f93a6b6f725161b (diff)
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.
Diffstat (limited to 'src/gallium/drivers/r600/Makefile.am')
-rw-r--r--src/gallium/drivers/r600/Makefile.am4
1 files changed, 0 insertions, 4 deletions
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@[email protected]
-libr600_la_LDFLAGS = \
- $(LLVM_LDFLAGS) \
- $(shell $(LLVM_CONFIG) --libs asmparser bitreader ipo)
-
AM_CFLAGS += \
$(LLVM_CFLAGS) \
-I$(top_srcdir)/src/gallium/drivers/radeon/