commit | eef6375030183ff0a3d3defd3b408d246931a140 | [log] [tgz] |
---|---|---|
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | Sun Oct 18 16:13:11 2020 +0100 |
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | Sun Oct 18 16:13:22 2020 +0100 |
tree | 8ef7dfe78b29d6d3a4de991076c7edd9ba1de1f0 | |
parent | 271b87d2637e0b49b1f87a70be3473181c4cf3ac [diff] |
[CMake] Don't add -lstdc++ to LDFLAGS If the target includes a C++ source file, CMake will automatically link the C++ standard library. This is useful when building on platforms where libstdc++.so does not exist (e.g. CheriBSD since we only use libc++.so). Reviewed By: smeenai Differential Revision: https://reviews.llvm.org/D89555