summaryrefslogtreecommitdiff
path: root/progs/tools/trace
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tools/trace')
-rw-r--r--progs/tools/trace/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/tools/trace/Makefile b/progs/tools/trace/Makefile
index b5dd90a6d0..822e466ad1 100644
--- a/progs/tools/trace/Makefile
+++ b/progs/tools/trace/Makefile
@@ -16,8 +16,8 @@ TRACER = gltrace.so
default: $(TRACER)
$(TRACER): $(OBJECTS)
- $(MKLIB) -o $(TRACER) -noprefix -cplusplus -ldflags '$(LDFLAGS)' \
- $(MKLIB_OPTIONS) $(OBJECTS)
+ $(MKLIB) -o $(TRACER) -noprefix -cplusplus -linker '$(CXX)' \
+ -ldflags '$(LDFLAGS)' $(MKLIB_OPTIONS) $(OBJECTS)
gltrace.cc: gltrace.py
PYTHONPATH=$(TOP)/src/mesa/glapi python gltrace.py -f $(TOP)/src/mesa/glapi/gl_API.xml > gltrace.cc