mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
get bugpoint working on ia64, by building .so's with -fpic. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user