From: Brian Paul Date: Fri, 24 Jun 2011 15:00:57 +0000 (-0600) Subject: gallium/tests/trivial: use CXX to do final link X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b663292ae940e76e7d8f3f6d2a895fa51564539f;p=mesa.git gallium/tests/trivial: use CXX to do final link --- diff --git a/src/gallium/tests/trivial/Makefile b/src/gallium/tests/trivial/Makefile index e82000070de..d47cb2a4b4f 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 $@