summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-03-10 20:15:09 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-03-10 20:15:09 +0000
commit7054073bb6c9a6823371dc5ea6698f75379da073 (patch)
treea3dc2e744ca29a2106bd84457759f0624dcd42b5 /llvm/lib/Support
parent7728eb7b80d6066b97b8cd961ced8cb2cb09d544 (diff)
downloadbcm5719-llvm-7054073bb6c9a6823371dc5ea6698f75379da073.tar.gz
bcm5719-llvm-7054073bb6c9a6823371dc5ea6698f75379da073.zip
yay for camel_cvs diff
llvm-svn: 20552
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/ToolRunner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ToolRunner.cpp b/llvm/lib/Support/ToolRunner.cpp
index 46971f8d23f..2f6f2f43a5d 100644
--- a/llvm/lib/Support/ToolRunner.cpp
+++ b/llvm/lib/Support/ToolRunner.cpp
@@ -451,7 +451,7 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType,
"-shared", // `-shared' for Linux/X86, maybe others
#endif
-#if defined(__ia64__)
+#if defined(__ia64__) || defined(__alpha__)
"-fPIC", // IA64 requires shared objs to contain PIC
#endif
"-o", OutputFile.c_str(), // Output to the right filename...
OpenPOWER on IntegriCloud