diff options
author | Tom Stellard <[email protected]> | 2013-01-18 15:08:28 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-01-24 15:44:53 +0000 |
commit | 69d639ba8b3cfd95cfbb12b861dbe2eda53f2e25 (patch) | |
tree | 609edce8acba60cbe0a3d099c61d4e93b5c59af3 /src | |
parent | 35f0dc2cc71f49ff8de8ba7a0f93a6b6f725161b (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')
-rw-r--r-- | src/gallium/drivers/r600/Makefile.am | 4 |
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/ |