Hi, I committed the following as obvious.
thanks Iain 2018-08-22 Iain Sandoe <i...@sandoe.co.uk> gcc/ * config/darwin.h (LINK_COMMAND_SPEC_A): Sync LTO options with the sequence used in gcc/gcc.c. Index: gcc/config/darwin.h =================================================================== --- gcc/config/darwin.h (revision 263769) +++ gcc/config/darwin.h (working copy) @@ -175,7 +175,7 @@ %(linker)" \ LINK_PLUGIN_SPEC \ "%{flto*:%<fcompare-debug*} \ - %{flto*} \ + %{flto} %{fno-lto} %{flto=*} \ %l " LINK_COMPRESS_DEBUG_SPEC \ "%X %{s} %{t} %{Z} %{u*} \ %{e*} %{r} \