[PATCH] D24007: [CMake] Use -std=c++11 if supported

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 29 15:15:05 PDT 2016


EricWF accepted this revision.
EricWF added a comment.
This revision is now accepted and ready to land.

LGTM. I'm surprised we don't already require C++11.


================
Comment at: cmake/config-ix.cmake:40
@@ -39,1 +39,3 @@
 check_cxx_compiler_flag(/GR-                  LIBCXXABI_HAS_NO_GR_FLAG)
+check_cxx_compiler_flag(-std=c++11            LIBCXXABI_HAS_CXX11)
+
----------------
Nit `LIBCXXABI_HAS_STD_CXX11`.


https://reviews.llvm.org/D24007





More information about the cfe-commits mailing list