[Lldb-commits] [lldb] [lldb][test] Link certain libc++ tests with the whole library (PR #118986)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Dec 9 08:17:20 PST 2024
================
@@ -389,7 +389,7 @@ ifeq (1,$(USE_LIBCPP))
ifneq "$(LIBCPP_INCLUDE_TARGET_DIR)" ""
CXXFLAGS += -cxx-isystem $(LIBCPP_INCLUDE_TARGET_DIR)
endif
- LDFLAGS += -L$(LIBCPP_LIBRARY_DIR) -Wl,-rpath,$(LIBCPP_LIBRARY_DIR) -lc++
+ LDFLAGS += -nostdlib++ -nostdinc -L$(LIBCPP_LIBRARY_DIR) -Wl,-rpath,$(LIBCPP_LIBRARY_DIR) -lc++ -lc++abi
----------------
labath wrote:
Is `-nostdinc` here really needed here? Headers shouldn't be accessed during the link step (and even if they were, this should probably be `-nostdinc++`)
https://github.com/llvm/llvm-project/pull/118986
More information about the lldb-commits
mailing list