diff --git a/lldb/test/API/macosx/lc-note/kern-ver-str/Makefile b/lldb/test/API/macosx/lc-note/kern-ver-str/Makefile index ad37346bbebc0..05d9552a80209 100644 --- a/lldb/test/API/macosx/lc-note/kern-ver-str/Makefile +++ b/lldb/test/API/macosx/lc-note/kern-ver-str/Makefile @@ -6,6 +6,6 @@ all: a.out create-empty-corefile create-empty-corefile: $(MAKE) -f $(MAKEFILE_RULES) EXE=create-empty-corefile \ - C_SOURCES=create-empty-corefile.c + CXX=$(CC) CXX_SOURCES=create-empty-corefile.cpp include Makefile.rules