diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-23 23:01:16 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-23 23:01:16 +0000 |
commit | 12a0b1f4c847a3dd8efc53b2fe1746fea7f2edc5 (patch) | |
tree | fab31351da98ca802a5511e3f66ade40242b9f4f /llvm/lib/CodeGen/StackMaps.cpp | |
parent | 84c4cc47f5fb52e680ca3f3790a7e15a3499731f (diff) | |
download | llvm-12a0b1f4c847a3dd8efc53b2fe1746fea7f2edc5.zip llvm-12a0b1f4c847a3dd8efc53b2fe1746fea7f2edc5.tar.gz llvm-12a0b1f4c847a3dd8efc53b2fe1746fea7f2edc5.tar.bz2 |
libc++: Perform configuration checks with -nodefaultlibs
We're compiling libc++ with -nodefaultlibs, so we should also pass this option
during the configuration checks to ensure those checks are consistent with the
actual build.
The primary motivation here is to ease cross-compilation against a non-standard
set of C++ libraries. Previously, the configuration checks would attempt to link
against the standard C++ libraries, which would cause link failures when
cross-compiling, even though the actual library link would go through correctly
(because of the use of -nodefaultlibs and explicitly specifying any needed
libraries). This is more correct even ignoring the motivation, however.
Patch by Shoaib Meenai!
llvm-svn: 279584
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions