Comment # 4 on bug 59282 from
I made a patch myself, and it works:


--- src/gallium/targets/dri-r600/Makefile.am.orig    2013-01-12
20:00:04.000000000 +0100
+++ src/gallium/targets/dri-r600/Makefile.am    2013-01-12 21:18:15.494000000
+0100
@@ -59,17 +59,13 @@
     $(LIBDRM_LIBS) \
     $(RADEON_LIBS)

-if HAVE_MESA_LLVM
 r600_dri_la_LINK = $(CXXLINK) $(r600_dri_la_LDFLAGS)
 # Mention a dummy pure C++ file to trigger generation of the $(LINK) variable
 nodist_EXTRA_r600_dri_la_SOURCES = dummy-cpp.cpp

+if HAVE_MESA_LLVM
 r600_dri_la_LDFLAGS += $(LLVM_LDFLAGS)
 r600_dri_la_LIBADD += $(LLVM_LIBS)
-else
-r600_dri_la_LINK = $(LINK) $(r600_dri_la_LDFLAGS)
-# Mention a dummy pure C file to trigger generation of the $(LINK) variable
-nodist_EXTRA_r600_dri_la_SOURCES = dummy-c.c
 endif

 # Provide compatibility with scripts for the old Mesa build system for


I'm gonna try your patch now.


You are receiving this mail because: