aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2018-08-22 12:31:23 +0000
committerIain Sandoe <iains@gcc.gnu.org>2018-08-22 12:31:23 +0000
commit257d10b524dbf6e026c5f67e4053b2612661e272 (patch)
tree62a92041fda5d08b2961539a2e1291b088fc3d51 /gcc
parentf0dbdef35ed7c7095b89ba7307398b4b4f6ccf03 (diff)
downloadgcc-257d10b524dbf6e026c5f67e4053b2612661e272.zip
gcc-257d10b524dbf6e026c5f67e4053b2612661e272.tar.gz
gcc-257d10b524dbf6e026c5f67e4053b2612661e272.tar.bz2
Udate Darwin's LTO specs to match what's in gcc/gcc.c
gcc/ * config/darwin.h (LINK_COMMAND_SPEC_A): Sync LTO options with the sequence used in gcc/gcc.c. From-SVN: r263770
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/darwin.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b53ed79..48d12ad 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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
* gcc-ar.c (main): Don’t try to invoke the plug-in if we’re not
building it.
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 05c8cf7..cd6d652 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -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} \