Mesa (master): st/xorg: fix build without LLVM

Marcin Åšlusarz mslusarz at kemper.freedesktop.org
Thu Oct 13 10:03:28 PDT 2011


Module: Mesa
Branch: master
Commit: 349e4db99e938f8ee8826b0d27e490c66a1e8356
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=349e4db99e938f8ee8826b0d27e490c66a1e8356

Author: Marcin Slusarz <marcin.slusarz at gmail.com>
Date:   Thu Oct 13 18:44:40 2011 +0200

st/xorg: fix build without LLVM

---

 src/gallium/targets/Makefile.xorg |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/targets/Makefile.xorg b/src/gallium/targets/Makefile.xorg
index 9269375..c96eded 100644
--- a/src/gallium/targets/Makefile.xorg
+++ b/src/gallium/targets/Makefile.xorg
@@ -33,6 +33,8 @@ LD = $(CXX)
 LDFLAGS += $(LLVM_LDFLAGS)
 USE_CXX=1
 DRIVER_LINKS += $(LLVM_LIBS) -lm -ldl
+else
+LDFLAGS += -lstdc++
 endif
 
 



More information about the mesa-commit mailing list