Commit b3c35965 by Matthias Klose Committed by Matthias Klose

gcc.c (main): Search for liblto_plugin.so with mode R_OK.

2010-04-18  Matthias Klose  <doko@ubuntu.com>

        * gcc.c (main): Search for liblto_plugin.so with mode R_OK.

From-SVN: r158494
parent 896ee672
2010-04-18 Matthias Klose <doko@ubuntu.com>
* gcc.c (main): Search for liblto_plugin.so with mode R_OK.
2010-04-18 Ira Rosen <irar@il.ibm.com> 2010-04-18 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/43771 PR tree-optimization/43771
......
...@@ -7495,7 +7495,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n" ...@@ -7495,7 +7495,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"
fuse_linker_plugin + strlen (fuse_linker_plugin), 0)) fuse_linker_plugin + strlen (fuse_linker_plugin), 0))
{ {
linker_plugin_file_spec = find_a_file (&exec_prefixes, linker_plugin_file_spec = find_a_file (&exec_prefixes,
"liblto_plugin.so", X_OK, "liblto_plugin.so", R_OK,
false); false);
if (!linker_plugin_file_spec) if (!linker_plugin_file_spec)
fatal ("-fuse-linker-plugin, but liblto_plugin.so not found"); fatal ("-fuse-linker-plugin, but liblto_plugin.so not found");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment