commit | f7eb5738f6fd60d7cb8c7c284a8c52f0859fe80b | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Wed Oct 02 07:44:19 2013 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Wed Oct 02 07:44:19 2013 +0000 |
tree | 70ab7d18b7e9694df5199e295001dc22baaee716 | |
parent | 19e7862eb83da0f009f6bd5becd56753dcca12d6 [diff] |
Explicitly specify -Wno-error if LIBCXX_ENABLE_WERROR is false. libcxx doesn't build with -Werror because of #warnings in its source code. But when libcxx is built as an external LLVM project, it inherits LLVM build flags, breaking the build if LLVM_ENABLE_WERROR is enabled. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@191814 91177308-0d34-0410-b5e6-96231b3b80d8