Fix make invocation to pass in the correct source file
authorAdrian Prantl <aprantl@apple.com>
Mon, 12 Sep 2022 23:51:03 +0000 (16:51 -0700)
committerAdrian Prantl <aprantl@apple.com>
Mon, 12 Sep 2022 23:51:17 +0000 (16:51 -0700)
lldb/test/API/macosx/lc-note/kern-ver-str/Makefile

index ad37346..05d9552 100644 (file)
@@ -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