This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, Darwin] Update LTO specs to match gcc/gcc.c
- From: Iain Sandoe <iain at sandoe dot co dot uk>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Mike Stump <mikestump at comcast dot net>
- Date: Wed, 22 Aug 2018 13:34:37 +0100
- Subject: [PATCH, Darwin] Update LTO specs to match gcc/gcc.c
Hi,
I committed the following as obvious.
thanks
Iain
2018-08-22 Iain Sandoe <iain@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} \