Commit e56f4605 by David Edelsohn

Wrap is_static with COLLECT_EXPORT_LIST

From-SVN: r261775
parent b5ebb717
...@@ -911,7 +911,9 @@ main (int argc, char **argv) ...@@ -911,7 +911,9 @@ main (int argc, char **argv)
int first_file; int first_file;
int num_c_args; int num_c_args;
char **old_argv; char **old_argv;
#ifdef COLLECT_EXPORT_LIST
bool is_static = false; bool is_static = false;
#endif
int i; int i;
for (i = 0; i < USE_LD_MAX; i++) for (i = 0; i < USE_LD_MAX; i++)
...@@ -1272,7 +1274,9 @@ main (int argc, char **argv) ...@@ -1272,7 +1274,9 @@ main (int argc, char **argv)
/* Parse arguments. Remember output file spec, pass the rest to ld. */ /* Parse arguments. Remember output file spec, pass the rest to ld. */
/* After the first file, put in the c++ rt0. */ /* After the first file, put in the c++ rt0. */
#ifdef COLLECT_EXPORT_LIST
is_static = static_obj; is_static = static_obj;
#endif
first_file = 1; first_file = 1;
while ((arg = *++argv) != (char *) 0) while ((arg = *++argv) != (char *) 0)
{ {
......
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