Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lldb
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2022-05-09 20:24:57 +0300
committerPavel Labath <pavel@labath.sk>2022-05-09 20:26:29 +0300
commitac7747ef281c3be4cfefa5adb5d0395cefc10223 (patch)
treeeccfd74a11a1b16e0351bf1722c0930736625908 /lldb
parent3f64f0328941c6ef13ce9d425f2a52061d774b92 (diff)
[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.
Diffstat (limited to 'lldb')
-rw-r--r--lldb/packages/Python/lldbsuite/test/make/Makefile.rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
index 3f9c2abecddb..6917d73130c4 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
#----------------------------------------------------------------------