Err, fix last checkin
authorChris Lattner <sabre@nondot.org>
Mon, 19 Jul 2004 06:03:51 +0000 (06:03 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 19 Jul 2004 06:03:51 +0000 (06:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14995 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 71d421616293806587eb84301e6c08f222cc365c..0e6a0413dd6fe689c6c5d97a1193108b00cd8032 100644 (file)
@@ -406,7 +406,7 @@ 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
+    "-undefined",                // in data segment, rather than generating
     "dynamic_lookup",            // blocks. dynamic_lookup requires that you set
                                  // MACOSX_DEPLOYMENT_TARGET=10.3 in your env.
 #else
index 71d421616293806587eb84301e6c08f222cc365c..0e6a0413dd6fe689c6c5d97a1193108b00cd8032 100644 (file)
@@ -406,7 +406,7 @@ 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
+    "-undefined",                // in data segment, rather than generating
     "dynamic_lookup",            // blocks. dynamic_lookup requires that you set
                                  // MACOSX_DEPLOYMENT_TARGET=10.3 in your env.
 #else