nvptx: In mkoffload.cc, call diagnostic_color_init + gcc_init_libintl
gcc/ChangeLog: * config/nvptx/mkoffload.cc (main): Call gcc_init_libintl and diagnostic_color_init.
This commit is contained in:
parent
1df56719bd
commit
7520a4992c
1 changed files with 2 additions and 0 deletions
|
@ -638,7 +638,9 @@ main (int argc, char **argv)
|
|||
const char *outname = 0;
|
||||
|
||||
progname = tool_name;
|
||||
gcc_init_libintl ();
|
||||
diagnostic_initialize (global_dc, 0);
|
||||
diagnostic_color_init (global_dc);
|
||||
|
||||
if (atexit (mkoffload_cleanup) != 0)
|
||||
fatal_error (input_location, "atexit failed");
|
||||
|
|
Loading…
Add table
Reference in a new issue