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