Mesa (master): llvmpipe: use $(CXX) instead of g++ for linking.

Stephane Marchesin marcheu at kemper.freedesktop.org
Mon Jun 6 20:07:52 UTC 2011


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

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Wed Jun  1 10:37:13 2011 -0700

llvmpipe: use $(CXX) instead of g++ for linking.

This allows setting the path to the C++ compiler.

---

 src/gallium/drivers/llvmpipe/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/Makefile b/src/gallium/drivers/llvmpipe/Makefile
index 4068bed..ba9705b 100644
--- a/src/gallium/drivers/llvmpipe/Makefile
+++ b/src/gallium/drivers/llvmpipe/Makefile
@@ -71,7 +71,7 @@ lp_tile_soa.c: lp_tile_soa.py ../../auxiliary/util/u_format_parse.py ../../auxil
 
 LDFLAGS += $(LLVM_LDFLAGS)
 LIBS += -L../../auxiliary/ -lgallium libllvmpipe.a $(LLVM_LIBS) $(GL_LIB_DEPS)
-LD=g++
+LD=$(CXX)
 
 $(PROGS): lp_test_main.o libllvmpipe.a
 




More information about the mesa-commit mailing list