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 #---------------------------------------------------------------------- _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits