Mesa (master): gallium/tests/trivial: use CXX to do final link

Brian Paul brianp at kemper.freedesktop.org
Fri Jun 24 15:03:29 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jun 24 09:00:57 2011 -0600

gallium/tests/trivial: use CXX to do final link

---

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

diff --git a/src/gallium/tests/trivial/Makefile b/src/gallium/tests/trivial/Makefile
index e820000..d47cb2a 100644
--- a/src/gallium/tests/trivial/Makefile
+++ b/src/gallium/tests/trivial/Makefile
@@ -51,4 +51,4 @@ $(OBJECTS): %.o: %.c
 	$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $(PROG_DEFINES) $< -o $@
 
 $(PROGS): %: %.o $(LINKS)
-	$(CC) $(LDFLAGS) $< $(LINKS) $(LLVM_LIBS) -lm -lpthread -ldl -o $@
+	$(CXX) $(LDFLAGS) $< $(LINKS) $(LLVM_LIBS) -lm -lpthread -ldl -o $@




More information about the mesa-commit mailing list