[Lldb-commits] [lldb] c9ccaf1 - Fix make invocation to pass in the correct source file

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 12 16:51:28 PDT 2022


Author: Adrian Prantl
Date: 2022-09-12T16:51:17-07:00
New Revision: c9ccaf176de7d7104492e19484f18e4b3ec1ba42

URL: https://github.com/llvm/llvm-project/commit/c9ccaf176de7d7104492e19484f18e4b3ec1ba42
DIFF: https://github.com/llvm/llvm-project/commit/c9ccaf176de7d7104492e19484f18e4b3ec1ba42.diff

LOG: Fix make invocation to pass in the correct source file

Added: 
    

Modified: 
    lldb/test/API/macosx/lc-note/kern-ver-str/Makefile

Removed: 
    


################################################################################
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


        


More information about the lldb-commits mailing list