-
Committer:
Ben Hutchings
-
Date:
2019-10-07 16:25:17 UTC
-
Revision ID:
git-v1:5b7689f66c4476432ebe8fe8a88ea9fdeaa4eba8
[klibc] Fix missing header dependency for sigsuspend.o
sigsuspend.c includes <klibc/havesyscall.h>, which is a generated
file. In a parallel make, sigsuspend.o might currently be built
before havesyscall.h, and to avoid this we need t add an explicit
dependency.
Given that they are built from different makefiles, I don't think a
direct dependency will work. Instead, add syscalls/klib.list as a
dependency for sigsuspend.o so that it indirectly depends on
everything that's built from syscalls/.
Reported-by: Matthias Klose <doko@ubuntu.com>
Reported-by: Thorsten Glaser <tg@mirbsd.de>
References: https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1843743
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>