[Lldb-commits] [lldb] 14d5ae2 - [lldb][nfc] Remove unused makefile test variables

Felipe de Azevedo Piovezan via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 25 03:40:08 PDT 2022


Author: Felipe de Azevedo Piovezan
Date: 2022-08-25T06:39:01-04:00
New Revision: 14d5ae2038b58830f0565980e20fe0bfd683fb54

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

LOG: [lldb][nfc] Remove unused makefile test variables

The variables LLDB_USING_LIBCPP and LLDB_USING_LIBSTDCPP are no longer
used anywhere.

Differential Revision: https://reviews.llvm.org/D132596

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/make/Makefile.rules

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
index 6336ef2a523c0..36ef028101522 100644
--- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
@@ -381,13 +381,12 @@ endif
 ifeq (1,$(USE_LIBSTDCPP))
 	# Clang requires an extra flag: -stdlib=libstdc++
 	ifneq (,$(findstring clang,$(CC)))
-		CXXFLAGS += -stdlib=libstdc++ -DLLDB_USING_LIBSTDCPP
+		CXXFLAGS += -stdlib=libstdc++
 		LDFLAGS += -stdlib=libstdc++
 	endif
 endif
 
 ifeq (1,$(USE_LIBCPP))
-	CXXFLAGS += -DLLDB_USING_LIBCPP
 	ifneq ($(and $(LIBCPP_INCLUDE_DIR), $(LIBCPP_LIBRARY_DIR)),)
 		CXXFLAGS += -nostdlib++ -nostdinc++ -cxx-isystem $(LIBCPP_INCLUDE_DIR)
 		LDFLAGS += -L$(LLVM_LIBS_DIR) -Wl,-rpath,$(LIBCPP_LIBRARY_DIR) -lc++


        


More information about the lldb-commits mailing list