Skip -fwhole-program when merging LTO options.

gcc/ChangeLog:

2022-12-21  Jan Hubicka  <hubicka@ucw.cz>

	* lto-opts.cc (lto_write_options): Also skip -fwhole-program.
This commit is contained in:
Jan Hubicka
2022-12-21 12:45:56 +01:00
parent 6bfc384f55
commit 89ba8366fe

View File

@@ -150,6 +150,7 @@ lto_write_options (void)
case OPT_ffile_prefix_map_:
case OPT_fmacro_prefix_map_:
case OPT_fprofile_prefix_map_:
case OPT_fwhole_program:
continue;
default: