]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2019-04-03 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Apr 2019 08:46:00 +0000 (08:46 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Apr 2019 08:46:00 +0000 (08:46 +0000)
PR lto/89896
* lto-wrapper.c (run_gcc): Avoid implicit rules making
the all target phony.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@270112 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/lto-wrapper.c

index cb503b1c46d4da8732d967d9f460719f3993042e..540c58a11c8ba2c4076411a11e8b1c459306f764 100644 (file)
@@ -1,3 +1,9 @@
+2019-04-03  Richard Biener  <rguenther@suse.de>
+
+       PR lto/89896
+       * lto-wrapper.c (run_gcc): Avoid implicit rules making
+       the all target phony.
+
 2019-04-02  Uroš Bizjak  <ubizjak@gmail.com>
 
        PR target/89902
index 2cd69f24048923d2f79200e9043f27c41b722288..8c84aea37ae8948b9717f4139cd672deeac0093c 100644 (file)
@@ -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];