summaryrefslogtreecommitdiff
path: root/gcc/lto/Make-lang.in
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/Make-lang.in
parent35ca24a2d13feb005610c6d56637fff5d1a19e0b (diff)
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/Make-lang.in')
-rw-r--r--gcc/lto/Make-lang.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/lto/Make-lang.in b/gcc/lto/Make-lang.in
index 9b952767e13..696c5f36a5f 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