summaryrefslogtreecommitdiff
path: root/gcc/gcc-ar.c
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-09 16:00:58 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-09 16:00:58 +0000
commit1ad03cbf3117511c7e53d97166fe50ce0a3feef4 (patch)
treedc61586811fd5f9218398fde4dd9389594da2e99 /gcc/gcc-ar.c
parentb6134b3ac84f51c731db41382d73344fbb598257 (diff)
downloadgcc-1ad03cbf3117511c7e53d97166fe50ce0a3feef4.tar.gz
2012-05-09 Matthias Klose <doko@ubuntu.com>
* gcc-ar.c (main): Don't check for execute bits for the plugin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc-ar.c')
-rw-r--r--gcc/gcc-ar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc-ar.c b/gcc/gcc-ar.c
index d832b08c69a..caae1670bf6 100644
--- a/gcc/gcc-ar.c
+++ b/gcc/gcc-ar.c
@@ -70,7 +70,7 @@ main(int ac, char **av)
dir_separator,
LTOPLUGINSONAME,
NULL);
- if (access (plugin, X_OK))
+ if (access (plugin, R_OK))
{
fprintf (stderr, "%s: Cannot find plugin %s\n", av[0], plugin);
exit (1);