[Mesa-dev] [PATCH automake] pipe-loader: Fix some undefined symbols.

Johannes Obermayr johannesobermayr at gmx.de
Tue Dec 4 11:24:17 PST 2012


---
 src/gallium/drivers/radeon/Makefile.am      |    5 +++--
 src/gallium/targets/pipe-loader/Makefile.am |    3 +++
 2 Dateien geändert, 6 Zeilen hinzugefügt(+), 2 Zeilen entfernt(-)

diff --git a/src/gallium/drivers/radeon/Makefile.am b/src/gallium/drivers/radeon/Makefile.am
index cbad5b7..adb5ebe 100644
--- a/src/gallium/drivers/radeon/Makefile.am
+++ b/src/gallium/drivers/radeon/Makefile.am
@@ -4,7 +4,8 @@ include $(top_srcdir)/src/gallium/Automake.inc
 noinst_LTLIBRARIES = libradeon.la
 
 AM_CXXFLAGS = \
-	$(filter-out -DDEBUG, $(LLVM_CXXFLAGS))
+	$(filter-out -DDEBUG, $(LLVM_CXXFLAGS)) \
+	$(DEFINES)
 
 AM_CFLAGS = \
 	$(GALLIUM_CFLAGS) \
@@ -15,7 +16,7 @@ AM_CPPFLAGS = -DEXTERNAL_LLVM
 tablegen = $(LLVM_BINDIR)/llvm-tblgen -I $(LLVM_INCLUDEDIR) -I $(srcdir) $1 $2 -o $3
 
 libradeon_la_SOURCES =	\
-	$(CXX_FILES) \
+	$(CPP_FILES) \
 	$(C_FILES)
 
 SIRegisterInfo.td: SIGenRegisterInfo.pl
diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
index 1a66835..8fcd2f8 100644
--- a/src/gallium/targets/pipe-loader/Makefile.am
+++ b/src/gallium/targets/pipe-loader/Makefile.am
@@ -15,6 +15,9 @@ gbm_LTLIBRARIES =
 
 PIPE_LIBS = \
 	$(top_builddir)/src/gallium/auxiliary/libgallium.la \
+	$(top_builddir)/src/gallium/drivers/galahad/libgalahad.la \
+	$(top_builddir)/src/gallium/drivers/rbug/librbug.la \
+	$(top_builddir)/src/gallium/drivers/trace/libtrace.la \
 	$(DLOPEN_LIBS) \
 	-lpthread \
 	-lm
-- 
1.7.10.4



More information about the mesa-dev mailing list