aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
authorEugene Rozenfeld <erozen@microsoft.com>2023-09-15 18:32:10 -0700
committerEugene Rozenfeld <erozen@microsoft.com>2023-09-29 18:13:03 -0700
commit6cc9904811550d1d3573818face4b055dab5fc8c (patch)
tree979d522403398b7b122c2f628ee8c287ce8e2aa7 /gcc/lto
parent87c00507b87c9b85988a01a58de41c1f4de4ddb1 (diff)
downloadgcc-6cc9904811550d1d3573818face4b055dab5fc8c.zip
gcc-6cc9904811550d1d3573818face4b055dab5fc8c.tar.gz
gcc-6cc9904811550d1d3573818face4b055dab5fc8c.tar.bz2
Remove .PHONY targets when building .fda files during autoprofiledbootstrap
These .PHONY targets are always executed and were breaking `make install` for autoprofiledbootstrap build. Tested on x86_64-pc-linux-gnu. gcc/c/ChangeLog: * Make-lang.in: Make create_fdas_for_cc1 target not .PHONY gcc/cp/ChangeLog: * Make-lang.in: Make create_fdas_for_cc1plus target not .PHONY gcc/lto/ChangeLog: * Make-lang.in: Make create_fdas_for_lto1 target not .PHONY
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/Make-lang.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/lto/Make-lang.in b/gcc/lto/Make-lang.in
index 98aa9f4..7dc0a9f 100644
--- a/gcc/lto/Make-lang.in
+++ b/gcc/lto/Make-lang.in
@@ -108,8 +108,6 @@ lto/lto-dump.o: $(LTO_OBJS)
components_in_prev = "bfd opcodes binutils fixincludes gas gcc gmp mpfr mpc isl gold intl ld libbacktrace libcpp libcody libdecnumber libiberty libiberty-linker-plugin libiconv zlib lto-plugin libctf libsframe"
components_in_prev_target = "libstdc++-v3 libsanitizer libvtv libgcc libbacktrace libphobos zlib libgomp libatomic"
-.PHONY: create_fdas_for_lto1
-
lto1.fda: create_fdas_for_lto1
$(PROFILE_MERGER) $(shell ls -ha lto1_*.fda) --output_file lto1.fda -gcov_version 2
@@ -134,6 +132,8 @@ create_fdas_for_lto1: ../stage1-gcc/lto1$(exeext) ../prev-gcc/$(PERF_DATA)
fi; \
done;
+ $(STAMP) $@
+
# LTO testing is done as part of C/C++/Fortran etc. testing.
check-lto: