diff options
author | Paul Smith <psmith@gnu.org> | 2009-06-06 23:16:46 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-06-06 23:16:46 +0000 |
commit | 1e68871025cb3fe45a9b769a2be7b8b6c142f8c5 (patch) | |
tree | c1136963019da597c69848df352510c752a6d4ea /remake.c | |
parent | 5df518424a9033c8f7041221a4a859efbfb54411 (diff) | |
download | make-1e68871025cb3fe45a9b769a2be7b8b6c142f8c5.tar.gz |
- Work around a bug in glibc glob(3), by avoiding GLOB_NOCHECK.
- Fix issue in very parallel builds found building glibc.
Diffstat (limited to 'remake.c')
-rw-r--r-- | remake.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -984,10 +984,11 @@ check_dep (struct file *file, unsigned int depth, struct dep *lastd; int deps_running = 0; - /* Reset this target's state so that we check it fresh. It could be - that it's already been checked as part of an order-only + /* If this target is not running, set it's state so that we check it + fresh. It could be it was checked as part of an order-only prerequisite and so wasn't rebuilt then, but should be now. */ - set_command_state (file, cs_not_started); + if (file->command_state != cs_running) + set_command_state (file, cs_not_started); lastd = 0; d = file->deps; |