[PATCH] D120269: [lld] Require C++14 in LLD standalone build
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 22 15:15:42 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG606cb8548a1b: [lld] Require C++14 in LLD standalone build (authored by int3).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120269/new/
https://reviews.llvm.org/D120269
Files:
lld/CMakeLists.txt
Index: lld/CMakeLists.txt
===================================================================
--- lld/CMakeLists.txt
+++ lld/CMakeLists.txt
@@ -11,6 +11,10 @@
include(GNUInstallDirs)
if(LLD_BUILT_STANDALONE)
+ set(CMAKE_CXX_STANDARD 14 CACHE STRING "C++ standard to conform to")
+ set(CMAKE_CXX_STANDARD_REQUIRED YES)
+ set(CMAKE_CXX_EXTENSIONS NO)
+
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Rely on llvm-config.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120269.410657.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220222/007e68c0/attachment.bin>
More information about the llvm-commits
mailing list