[Mesa-dev] [PATCH 1/2] llvmpipe: use $(CXX) instead of g++ for linking.

Stéphane Marchesin marcheu at chromium.org
Wed Jun 1 20:50:04 PDT 2011


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
 
-- 
1.7.5.3.367.ga9930



More information about the mesa-dev mailing list