[llvm-commits] [llvm-gcc-4.2] r73384 - /llvm-gcc-4.2/trunk/gcc/gcc.c
Rafael Espindola
rafael.espindola at gmail.com
Mon Jun 15 03:16:08 PDT 2009
Author: rafael
Date: Mon Jun 15 05:16:08 2009
New Revision: 73384
URL: http://llvm.org/viewvc/llvm-project?rev=73384&view=rev
Log:
If we can't find the assembler in any of the -B directories, pass "as" to the
plugin.
Modified:
llvm-gcc-4.2/trunk/gcc/gcc.c
Modified: llvm-gcc-4.2/trunk/gcc/gcc.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/gcc.c?rev=73384&r1=73383&r2=73384&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/gcc.c (original)
+++ llvm-gcc-4.2/trunk/gcc/gcc.c Mon Jun 15 05:16:08 2009
@@ -7190,6 +7190,8 @@
fatal ("-use-gold-plugin, but libLLVMgold.so not found.");
}
gold_plugin_as_spec = find_a_file (&exec_prefixes, "as", X_OK, false);
+ if (!gold_plugin_as_spec)
+ gold_plugin_as_spec = "as";
#endif
/* LLVM LOCAL end */
/* Rebuild the COMPILER_PATH and LIBRARY_PATH environment variables
More information about the llvm-commits
mailing list