[Lldb-commits] [lldb] ac7747e - [lldb/test] Append CXXFLAGS_EXTRAS last in Makefile.rules
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon May 9 10:35:21 PDT 2022
Author: Pavel Labath
Date: 2022-05-09T19:26:29+02:00
New Revision: ac7747ef281c3be4cfefa5adb5d0395cefc10223
URL: https://github.com/llvm/llvm-project/commit/ac7747ef281c3be4cfefa5adb5d0395cefc10223
DIFF: https://github.com/llvm/llvm-project/commit/ac7747ef281c3be4cfefa5adb5d0395cefc10223.diff
LOG: [lldb/test] Append CXXFLAGS_EXTRAS last in Makefile.rules
This matches what we do with CFLAGS, and it started to matter
8abfa5119ad, which added some -std=-apending code.
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 3f9c2abecddbc..6917d73130c4a 100644
--- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
@@ -275,7 +275,7 @@ ifeq "$(MAKE_GMODULES)" "YES"
endif
CFLAGS += $(CFLAGS_EXTRAS)
-CXXFLAGS += -std=c++11 $(CFLAGS) $(ARCH_CXXFLAGS) $(CXXFLAGS_EXTRAS)
+CXXFLAGS += -std=c++11 $(CFLAGS) $(ARCH_CXXFLAGS)
LD = $(CC)
LDFLAGS ?= $(CFLAGS)
LDFLAGS += $(LD_EXTRAS) $(ARCH_LDFLAGS)
@@ -411,6 +411,8 @@ ifeq (1,$(USE_LIBDL))
endif
endif
+CXXFLAGS += $(CXXFLAGS_EXTRAS)
+
#----------------------------------------------------------------------
# dylib settings
#----------------------------------------------------------------------
More information about the lldb-commits
mailing list