Fix make invocation to pass in the correct source file
authorAdrian Prantl <aprantl@apple.com>
Mon, 12 Sep 2022 23:36:46 +0000 (16:36 -0700)
committerAdrian Prantl <aprantl@apple.com>
Mon, 12 Sep 2022 23:36:56 +0000 (16:36 -0700)
lldb/test/API/macosx/lc-note/firmware-corefile/Makefile

index 0502011..4d798fc 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