Only print warning on nm failure because it fails on darwin if there
are no symbols (reported by Pierre d'Herbemont).
This commit is contained in:
parent
d17bc912db
commit
28b64db6d5
|
@ -666,7 +666,7 @@ void read_undef_symbols( char **argv )
|
|||
if (p[0] == 'U' && p[1] == ' ' && p[2]) p += 2;
|
||||
add_undef_symbol( p );
|
||||
}
|
||||
if ((err = pclose( f ))) fatal_error( "nm -u %s error %d\n", name, err );
|
||||
if ((err = pclose( f ))) warning( "nm -u %s error %d\n", name, err );
|
||||
}
|
||||
|
||||
static void remove_ignored_symbols(void)
|
||||
|
|
Loading…
Reference in New Issue