Currently confused by both all or all.c in the local directory.

Bootstrap / regtest running on x86_64-unknown-linux-gnu.

Richard.

2019-04-01  Richard Biener  <rguent...@suse.de>

        PR lto/89896
        * lto-wrapper.c (run_gcc): Avoid implicit rules making
        the all target phony.

Index: gcc/lto-wrapper.c
===================================================================
--- gcc/lto-wrapper.c   (revision 270053)
+++ gcc/lto-wrapper.c   (working copy)
@@ -1665,7 +1665,9 @@ cont:
          struct pex_obj *pex;
          char jobs[32];
 
-         fprintf (mstream, "all:");
+         fprintf (mstream,
+                  ".PHONY: all\n"
+                  "all:");
          for (i = 0; i < nr; ++i)
            {
              int j = ltrans_priorities[i*2 + 1];

Reply via email to