darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto switches.
authorIain Sandoe <iains@gcc.gnu.org>
Sat, 13 Nov 2010 13:02:24 +0000 (13:02 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 13 Nov 2010 13:02:24 +0000 (13:02 +0000)
gcc:

* config/darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto
switches.

From-SVN: r166706

gcc/ChangeLog
gcc/config/darwin.h

index b093e5461de9906e33526c90c9171c041798dc1a..4c07f72f8aec6424daee88d842058d47e5ef600c 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-13  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto
+       switches.
+
 2010-11-13  Iain Sandoe  <iains@gcc.gnu.org>
 
        * dwarf2out.c (macinfo_entry): New struct.
index 5a4be8a1a4fa1c941d1a56ecb4238e3ffbd89452..c80c2614e642ecbb77768c173c83b210dbe9fd39 100644 (file)
@@ -170,12 +170,14 @@ extern GTY(()) int darwin_ms_struct;
 
 #define LINK_COMMAND_SPEC_A \
    "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\
-    %(linker) %l %X %{d} %{s} %{t} %{Z} %{u*} \
+    %(linker) \
+    %{flto*:%<fcompare-debug*} \
+    %{flto*} \
+    %l %X %{d} %{s} %{t} %{Z} %{u*} \
     %{A} %{e*} %{m} %{r} \
     %{o*}%{!o:-o a.out} \
     %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \
     %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \
-    %{flto} %{fwhopr} \
     %{fopenmp|ftree-parallelize-loops=*: \
       %{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s; : -lgomp } } \
     %{!nostdlib:%{!nodefaultlibs: %(link_ssp) %G %L }} \