[Lldb-commits] [lldb] r354418 - Move -fcxx-modules to MANDATORY_MODULE_BUILD_CFLAGS (NFC)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 19 17:14:05 PST 2019
Author: adrian
Date: Tue Feb 19 17:14:05 2019
New Revision: 354418
URL: http://llvm.org/viewvc/llvm-project?rev=354418&view=rev
Log:
Move -fcxx-modules to MANDATORY_MODULE_BUILD_CFLAGS (NFC)
Modified:
lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules
Modified: lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules?rev=354418&r1=354417&r2=354418&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules Tue Feb 19 17:14:05 2019
@@ -284,12 +284,13 @@ endif
MANDATORY_MODULE_BUILD_CFLAGS := -fmodules -gmodules -fmodules-cache-path=$(CLANG_MODULE_CACHE_DIR)
+ifeq "$(OS)" "Darwin"
+ MANDATORY_MODULE_BUILD_CFLAGS += -fcxx-modules
+endif
+
ifeq "$(MAKE_GMODULES)" "YES"
CFLAGS += $(MANDATORY_MODULE_BUILD_CFLAGS)
CXXFLAGS += $(MANDATORY_MODULE_BUILD_CFLAGS)
- ifeq "$(OS)" "Darwin"
- CXXFLAGS += -fcxx-modules
- endif
endif
CXXFLAGS += -std=c++11 $(CFLAGS) $(ARCH_CXXFLAGS)
More information about the lldb-commits
mailing list