mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Do not link in runtime library anymore, assume that user manually links in
libraries. Code should be generalized to allow lli to take -lc -lm arguments in the future (todo) llvm-svn: 1852
This commit is contained in:
parent
4489946ab0
commit
32669e6211
@ -161,6 +161,7 @@ void Interpreter::loadModule(const string &Filename) {
|
||||
}
|
||||
CW.setModule(CurMod); // Update Writer
|
||||
|
||||
#if 0
|
||||
string RuntimeLib = getCurrentExecutablePath();
|
||||
if (!RuntimeLib.empty()) RuntimeLib += "/";
|
||||
RuntimeLib += "RuntimeLib.bc";
|
||||
@ -173,6 +174,7 @@ void Interpreter::loadModule(const string &Filename) {
|
||||
std::cerr << "Error loading runtime library '"+RuntimeLib+"': "
|
||||
<< ErrorMsg << "\n";
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user