diff options
-rw-r--r-- | lib/Support/ToolRunner.cpp | 4 | ||||
-rw-r--r-- | tools/bugpoint/ToolRunner.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/Support/ToolRunner.cpp b/lib/Support/ToolRunner.cpp index 73a0c31418..71d4216162 100644 --- a/lib/Support/ToolRunner.cpp +++ b/lib/Support/ToolRunner.cpp @@ -406,7 +406,9 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType, #elif (defined(__POWERPC__) || defined(__ppc__)) && defined(__APPLE__) "-dynamiclib", // `-dynamiclib' for MacOS X/PowerPC "-fno-common", // allow global vars w/o initializers to live - // in data segment, rather than generating blocks + // in data segment, rather than generating + "dynamic_lookup", // blocks. dynamic_lookup requires that you set + // MACOSX_DEPLOYMENT_TARGET=10.3 in your env. #else "-shared", // `-shared' for Linux/X86, maybe others #endif diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index 73a0c31418..71d4216162 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -406,7 +406,9 @@ int GCC::MakeSharedObject(const std::string &InputFile, FileType fileType, #elif (defined(__POWERPC__) || defined(__ppc__)) && defined(__APPLE__) "-dynamiclib", // `-dynamiclib' for MacOS X/PowerPC "-fno-common", // allow global vars w/o initializers to live - // in data segment, rather than generating blocks + // in data segment, rather than generating + "dynamic_lookup", // blocks. dynamic_lookup requires that you set + // MACOSX_DEPLOYMENT_TARGET=10.3 in your env. #else "-shared", // `-shared' for Linux/X86, maybe others #endif |