Udate Darwin's LTO specs to match what's in gcc/gcc.c
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 22 Aug 2018 12:31:23 +0000 (12:31 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Wed, 22 Aug 2018 12:31:23 +0000 (12:31 +0000)
gcc/
* config/darwin.h (LINK_COMMAND_SPEC_A): Sync LTO options with
the sequence used in gcc/gcc.c.

From-SVN: r263770

gcc/ChangeLog
gcc/config/darwin.h

index b53ed795e3acdd2b8ca17d42e3d7cf26bab1b678..48d12ad28c663ee9b79019f66aefd9566b36126d 100644 (file)
@@ -1,3 +1,8 @@
+2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/darwin.h (LINK_COMMAND_SPEC_A): Sync LTO options with
+       the sequence used in gcc/gcc.c.
+
 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
 
        PR other/704
index 05c8cf71a1f949f211bd347ea82593fda7d13258..cd6d65216582e7632fa45af62b2b4b47b67cdab1 100644 (file)
@@ -175,7 +175,7 @@ extern GTY(()) int darwin_ms_struct;
     %(linker)" \
     LINK_PLUGIN_SPEC \
     "%{flto*:%<fcompare-debug*} \
-    %{flto*} \
+     %{flto} %{fno-lto} %{flto=*} \
     %l " LINK_COMPRESS_DEBUG_SPEC \
    "%X %{s} %{t} %{Z} %{u*} \
     %{e*} %{r} \