summaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 9240bc8684b..92ef7ba024e 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -1091,7 +1091,9 @@ main (int argc, char **argv)
const char **ld2;
char **object_lst;
const char **object;
+#ifdef TARGET_AIX_VERSION
int object_nbr = argc;
+#endif
int first_file;
int num_c_args;
char **old_argv;