diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2020-02-26 19:47:14 +0100 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2020-03-02 16:16:26 +0100 |
commit | 1d104f75498c97cca8ed1fc068a5c359fb7276d8 (patch) | |
tree | 30555ea142ff1346798644e0a6e2351b9611af62 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f5ad93d2f71437e34f3a6303d0a474cd4d8359e1 (diff) | |
download | llvm-1d104f75498c97cca8ed1fc068a5c359fb7276d8.zip llvm-1d104f75498c97cca8ed1fc068a5c359fb7276d8.tar.gz llvm-1d104f75498c97cca8ed1fc068a5c359fb7276d8.tar.bz2 |
Build fix: Turn off _GLIBCXX_DEBUG based on a compile check
Summary:
Enabling _GLIBCXX_DEBUG (implied by LLVM_ENABLE_EXPENSIVE_CHECKS) causes
std::min_element (and presumably others) to no longer be constexpr, which
in turn causes the build to fail.
This seems like a bug in the GCC STL. This change works around it.
Change-Id: I5fc471caa9c4de3ef4e87aeeac8df1b960e8e72c
Reviewers: tstellar, hans, serge-sans-paille
Differential Revision: https://reviews.llvm.org/D75199
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions