Revert this, I didn't mean to commit it
authorChris Lattner <sabre@nondot.org>
Tue, 17 Jan 2006 00:40:24 +0000 (00:40 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Jan 2006 00:40:24 +0000 (00:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25382 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 5eb763a88ac0672a254055814706f47600b5be62..6480c23cd8e9011bc0de4b8527a1be241c55d281 100644 (file)
@@ -394,15 +394,7 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
   sys::Path OutputBinary (ProgramFile+".gcc.exe");
   OutputBinary.makeUnique();
   GCCArgs.push_back(OutputBinary.c_str()); // Output to the right file...
-  GCCArgs.push_back("-lz");
   GCCArgs.push_back("-lm");                // Hard-code the math library...
-  GCCArgs.push_back("-x");
-  GCCArgs.push_back("none");
-  GCCArgs.push_back("/usr/local/lib/NAGWare/quickfit.o");
-  GCCArgs.push_back("-Xlinker");
-  GCCArgs.push_back("-flat_namespace");
-  GCCArgs.push_back("/usr/local/lib/NAGWare/libf97.dylib");
-  GCCArgs.push_back("/usr/local/lib/NAGWare/libf96.a");
   GCCArgs.push_back("-O2");                // Optimize the program a bit...
 #if defined (HAVE_LINK_R)
   GCCArgs.push_back("-Wl,-R.");            // Search this dir for .so files
index 5eb763a88ac0672a254055814706f47600b5be62..6480c23cd8e9011bc0de4b8527a1be241c55d281 100644 (file)
@@ -394,15 +394,7 @@ int GCC::ExecuteProgram(const std::string &ProgramFile,
   sys::Path OutputBinary (ProgramFile+".gcc.exe");
   OutputBinary.makeUnique();
   GCCArgs.push_back(OutputBinary.c_str()); // Output to the right file...
-  GCCArgs.push_back("-lz");
   GCCArgs.push_back("-lm");                // Hard-code the math library...
-  GCCArgs.push_back("-x");
-  GCCArgs.push_back("none");
-  GCCArgs.push_back("/usr/local/lib/NAGWare/quickfit.o");
-  GCCArgs.push_back("-Xlinker");
-  GCCArgs.push_back("-flat_namespace");
-  GCCArgs.push_back("/usr/local/lib/NAGWare/libf97.dylib");
-  GCCArgs.push_back("/usr/local/lib/NAGWare/libf96.a");
   GCCArgs.push_back("-O2");                // Optimize the program a bit...
 #if defined (HAVE_LINK_R)
   GCCArgs.push_back("-Wl,-R.");            // Search this dir for .so files