yay for camel_cvs diff
authorAndrew Lenharth <andrewl@lenharth.org>
Thu, 10 Mar 2005 20:15:09 +0000 (20:15 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Thu, 10 Mar 2005 20:15:09 +0000 (20:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20552 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/ToolRunner.cpp
tools/bugpoint/ToolRunner.cpp

index 46971f8d23fb97693a1b8f4190d9837f29360709..2f6f2f43a5dfa2ae68d00f9b6462824ac5ccc36c 100644 (file)
@@ -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...
index 46971f8d23fb97693a1b8f4190d9837f29360709..2f6f2f43a5dfa2ae68d00f9b6462824ac5ccc36c 100644 (file)
@@ -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...