aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-06-28 10:38:38 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-06-28 10:38:38 +0200
commite9ac1f86bf70e0ca794fed6ba3b8fe3026da063e (patch)
tree2bedfb424030617a17ede914a140ee57eb523853 /gcc/lto
parent35ca24a2d13feb005610c6d56637fff5d1a19e0b (diff)
downloadgcc-e9ac1f86bf70e0ca794fed6ba3b8fe3026da063e.zip
gcc-e9ac1f86bf70e0ca794fed6ba3b8fe3026da063e.tar.gz
gcc-e9ac1f86bf70e0ca794fed6ba3b8fe3026da063e.tar.bz2
Makefile.in: Don't cat ../stage_current if it does not exist.
* Makefile.in: Don't cat ../stage_current if it does not exist. c/ * Make-lang.in: Don't cat ../stage_current if it does not exist. cp/ * Make-lang.in: Don't cat ../stage_current if it does not exist. lto/ * Make-lang.in: Don't cat ../stage_current if it does not exist. From-SVN: r237817
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog4
-rw-r--r--gcc/lto/Make-lang.in3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index f2e56a9..4969909 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,7 @@
+2016-06-28 Jakub Jelinek <jakub@redhat.com>
+
+ * Make-lang.in: Don't cat ../stage_current if it does not exist.
+
2016-06-23 Andi Kleen <ak@linux.intel.com>
* Make-lang.in: Add support for autofdo (disabled for now)
diff --git a/gcc/lto/Make-lang.in b/gcc/lto/Make-lang.in
index 9b95276..696c5f3 100644
--- a/gcc/lto/Make-lang.in
+++ b/gcc/lto/Make-lang.in
@@ -29,7 +29,8 @@ lto_OBJS = $(LTO_OBJS)
# now. Should reenable after this is fixed, but only when LTO bootstrap
# is enabled.
-#ifeq ($(shell cat ../stage_current),stageautofeedback)
+#ifeq ($(if $(wildcard ../stage_current),$(shell cat \
+# ../stage_current)),stageautofeedback)
#$(LTO_OBJS): CFLAGS += -fauto-profile=lto1.fda
#$(LTO_OBJS): lto1.fda
#endif