[lldb/test] Append CXXFLAGS_EXTRAS last in Makefile.rules

This matches what we do with CFLAGS, and it started to matter
8abfa5119a, which added some -std=-apending code.
This commit is contained in:
Pavel Labath
2022-05-09 19:24:57 +02:00
parent 3f64f03289
commit ac7747ef28

View File

@@ -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
#----------------------------------------------------------------------