aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2010-04-18 17:44:42 +0000
committerMatthias Klose <doko@gcc.gnu.org>2010-04-18 17:44:42 +0000
commitb3c359652e9323f202e530d5948185504b2b4882 (patch)
treef4c7d75bdc7dee8e0c313e57fd0448d431beb53a /gcc/gcc.c
parent896ee672bfd78e0ba2bd7acadba6f203634c56fa (diff)
downloadgcc-b3c359652e9323f202e530d5948185504b2b4882.zip
gcc-b3c359652e9323f202e530d5948185504b2b4882.tar.gz
gcc-b3c359652e9323f202e530d5948185504b2b4882.tar.bz2
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
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index d219053..a25077e 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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))
{
linker_plugin_file_spec = find_a_file (&exec_prefixes,
- "liblto_plugin.so", X_OK,
+ "liblto_plugin.so", R_OK,
false);
if (!linker_plugin_file_spec)
fatal ("-fuse-linker-plugin, but liblto_plugin.so not found");