Skip to content
Snippets Groups Projects
Commit b9f0cebe authored by Chris Lattner's avatar Chris Lattner
Browse files

get bugpoint working on ia64, by building .so's with -fpic. :)

llvm-svn: 20525
parent 1f1462fa
No related branches found
No related tags found
No related merge requests found
...@@ -450,6 +450,10 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType, ...@@ -450,6 +450,10 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType,
#else #else
"-shared", // `-shared' for Linux/X86, maybe others "-shared", // `-shared' for Linux/X86, maybe others
#endif #endif
#if defined(__ia64__)
"-fPIC", // IA64 requires shared objs to contain PIC
#endif
"-o", OutputFile.c_str(), // Output to the right filename... "-o", OutputFile.c_str(), // Output to the right filename...
"-O2", // Optimize the program a bit... "-O2", // Optimize the program a bit...
0 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment