aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorLewis Hyatt <lhyatt@gmail.com>2023-11-16 11:18:37 -0500
committerLewis Hyatt <lhyatt@gmail.com>2023-11-19 11:07:09 -0500
commit56ca59a03150cf44cea340f58967c990ed6bf43c (patch)
treefb29e3e384d3ca147f23a90544d1de52d25eaab2 /gcc
parent78d132d73ec3784a77b3e2391a540bcdae714bb0 (diff)
downloadgcc-56ca59a03150cf44cea340f58967c990ed6bf43c.zip
gcc-56ca59a03150cf44cea340f58967c990ed6bf43c.tar.gz
gcc-56ca59a03150cf44cea340f58967c990ed6bf43c.tar.bz2
Makefile.tpl: Avoid race condition in generating site.exp from the top level
A command like "make -j 2 check-gcc-c check-gcc-c++" run in the top level of a fresh build directory does not work reliably. That will spawn two independent make processes inside the "gcc" directory, and each of those will attempt to create site.exp if it doesn't exist and will interfere with each other, producing often a corrupted or empty site.exp. Resolve that by making these targets depend on a new phony target which makes sure site.exp is created first before starting the recursive makes. ChangeLog: * Makefile.in: Regenerate. * Makefile.tpl: Add dependency on site.exp to check-gcc-* targets
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions