diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-11-13 01:26:31 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-11-13 01:26:31 +0000 |
commit | 0f95ac4b05c99aa4a3e93096fc1d63b09eb03291 (patch) | |
tree | 4d09a954e38fa57d3949ae67506afd236d5e490b | |
parent | 2c69511cd56d38452a940113ca3b83238542af15 (diff) | |
download | bcm5719-llvm-0f95ac4b05c99aa4a3e93096fc1d63b09eb03291.tar.gz bcm5719-llvm-0f95ac4b05c99aa4a3e93096fc1d63b09eb03291.zip |
LLVM_ENABLE_MODULES: No need to set -fcxx-modules in trunk, just -fmodules.
llvm-svn: 252996
-rw-r--r-- | llvm/cmake/modules/HandleLLVMOptions.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake index db0abb69d34..82a4084ffd9 100644 --- a/llvm/cmake/modules/HandleLLVMOptions.cmake +++ b/llvm/cmake/modules/HandleLLVMOptions.cmake @@ -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 |