aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc-ar.c
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2012-05-09 16:00:58 +0000
committerMatthias Klose <doko@gcc.gnu.org>2012-05-09 16:00:58 +0000
commitb0cd199e8de7227c2fcac3cfb7f767d61678914b (patch)
treedc61586811fd5f9218398fde4dd9389594da2e99 /gcc/gcc-ar.c
parentc75e90f3d8c412382914dd8b2baf81a6982096b0 (diff)
downloadgcc-b0cd199e8de7227c2fcac3cfb7f767d61678914b.zip
gcc-b0cd199e8de7227c2fcac3cfb7f767d61678914b.tar.gz
gcc-b0cd199e8de7227c2fcac3cfb7f767d61678914b.tar.bz2
gcc-ar.c (main): Don't check for execute bits for the plugin.
2012-05-09 Matthias Klose <doko@ubuntu.com> * gcc-ar.c (main): Don't check for execute bits for the plugin. From-SVN: r187338
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 d832b08..caae167 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);