gallium/tests/trivial: use CXX to do final link
authorBrian Paul <brianp@vmware.com>
Fri, 24 Jun 2011 15:00:57 +0000 (09:00 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 24 Jun 2011 15:02:47 +0000 (09:02 -0600)
src/gallium/tests/trivial/Makefile

index e820000..d47cb2a 100644 (file)
@@ -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 $@