[llvm] r252996 - LLVM_ENABLE_MODULES: No need to set -fcxx-modules in trunk, just -fmodules.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 12 17:26:31 PST 2015
Author: chapuni
Date: Thu Nov 12 19:26:31 2015
New Revision: 252996
URL: http://llvm.org/viewvc/llvm-project?rev=252996&view=rev
Log:
LLVM_ENABLE_MODULES: No need to set -fcxx-modules in trunk, just -fmodules.
Modified:
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=252996&r1=252995&r2=252996&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Thu Nov 12 19:26:31 2015
@@ -433,7 +433,7 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE
endif()
if (LLVM_ENABLE_MODULES)
set(OLD_CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS})
- set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fmodules -fcxx-modules")
+ set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fmodules")
# Check that we can build code with modules enabled, and that repeatedly
# including <cassert> still manages to respect NDEBUG properly.
CHECK_CXX_SOURCE_COMPILES("#undef NDEBUG
More information about the llvm-commits
mailing list