aboutsummaryrefslogtreecommitdiff
path: root/lib/Linker/LinkItems.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-08 20:01:10 +0000
committerChris Lattner <sabre@nondot.org>2004-12-08 20:01:10 +0000
commitb2abb26fe150f790f23e6777b24a2aac349349a8 (patch)
treed63bc3926d225fa5e597f4c8b4dd8558429dbfa7 /lib/Linker/LinkItems.cpp
parent61db465a357d1804b37e4dca0ffdbce542528652 (diff)
Turn this error back into a warning, fixing the povray regression
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Linker/LinkItems.cpp')
-rw-r--r--lib/Linker/LinkItems.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Linker/LinkItems.cpp b/lib/Linker/LinkItems.cpp
index ee290d3fb3..d055a4d028 100644
--- a/lib/Linker/LinkItems.cpp
+++ b/lib/Linker/LinkItems.cpp
@@ -50,9 +50,9 @@ LinkOneLibrary(const char*progname, Module* HeadModule,
// If the pathname does not exist, then simply return if we're doing a
// native link and give a warning if we're doing a bytecode link.
if (!Native) {
- std::cerr << progname << ": error: Cannot find library '"
+ std::cerr << progname << ": warning: Cannot find library '"
<< Lib << "'\n";
- return true;
+ return false;
}
}