[libcxx] r250256 - Workaround -pedantic flag added by LLVM
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 13 16:56:34 PDT 2015
Author: ericwf
Date: Tue Oct 13 18:56:33 2015
New Revision: 250256
URL: http://llvm.org/viewvc/llvm-project?rev=250256&view=rev
Log:
Workaround -pedantic flag added by LLVM
Modified:
libcxx/trunk/CMakeLists.txt
Modified: libcxx/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=250256&r1=250255&r2=250256&view=diff
==============================================================================
--- libcxx/trunk/CMakeLists.txt (original)
+++ libcxx/trunk/CMakeLists.txt Tue Oct 13 18:56:33 2015
@@ -198,6 +198,10 @@ include(HandleLibcxxFlags)
remove_flags(-DNDEBUG -UNDEBUG -D_DEBUG
-stdlib=libc++ -stdlib=libstdc++ -lc++abi -m32)
+# FIXME(EricWF): See the FIXME on LIBCXX_ENABLE_PEDANTIC.
+# Remove the -pedantic flag provided by LLVM.
+remove_flags(-pedantic)
+
# Required flags ==============================================================
add_compile_flags_if_supported(-std=c++11)
if (NOT MSVC AND NOT LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG)
More information about the cfe-commits
mailing list