diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-29 21:33:37 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-08-29 21:33:37 +0000 |
| commit | 124186616a446128cfc78c0c048484401fa308e2 (patch) | |
| tree | 0fbf661757a9bd1b409c3fc28bfb0545406900af /llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp | |
| parent | dcbf2cbfcaea464c3bb5336e853007d7b7b3a4d2 (diff) | |
| download | llvm-124186616a446128cfc78c0c048484401fa308e2.zip llvm-124186616a446128cfc78c0c048484401fa308e2.tar.gz llvm-124186616a446128cfc78c0c048484401fa308e2.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: 280015
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions
