From: Jason Merrill Date: Fri, 20 Feb 1998 12:30:20 +0000 (-0500) Subject: oops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63f38a9064dab3d3e4bd5768ddbf9dd7b66d5c1f;p=gcc.git oops From-SVN: r18140 --- diff --git a/gcc/collect2.c b/gcc/collect2.c index 79e59b5be1d..fac696ef3b0 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1534,7 +1534,7 @@ main (argc, argv) undefined symbols from repository information. */ /* On AIX we do this later. */ -#ifndef COLLECT_EXPORT_LIST +#ifdef COLLECT_EXPORT_LIST do_tlink (ld1_argv, object_lst); #endif @@ -1542,11 +1542,13 @@ main (argc, argv) constructor or destructor list, just return now. */ if (rflag || ! do_collecting) { +#ifdef COLLECT_EXPORT_LIST /* But make sure we delete the export file we may have created. */ if (export_file != 0 && export_file[0]) maybe_unlink (export_file); if (import_file != 0 && import_file[0]) maybe_unlink (import_file); +#endif return 0; }