diff options
author | David Michael <fedora.dm0@gmail.com> | 2017-06-10 12:30:35 -0700 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2017-06-10 23:35:19 +0200 |
commit | bf1afc9cf958c9270ab73236028097ca0113b176 (patch) | |
tree | ebfd90b96eaa318cffd45d4155d9d298862d7d2c /trans | |
parent | 019f9923e879ff326b14b2de04c6939c07ccb55b (diff) | |
download | hurd-bf1afc9cf958c9270ab73236028097ca0113b176.tar.gz hurd-bf1afc9cf958c9270ab73236028097ca0113b176.tar.bz2 hurd-bf1afc9cf958c9270ab73236028097ca0113b176.zip |
trans: Fix parallel build race around MIG-generated headers
This causes random.d to be generated which makes random.o depend on
mach_debug_U.h, ensuring it exists before random.c is compiled.
* trans/Makefile: Add random.c to SRCS when gcrypt is used.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trans/Makefile b/trans/Makefile index f02ddf7b..b2f63ca7 100644 --- a/trans/Makefile +++ b/trans/Makefile @@ -60,6 +60,7 @@ ifneq (,$(wildcard ../config.make)) endif ifeq ($(HAVE_LIBGCRYPT),yes) + SRCS += random.c targets += random random-LDLIBS = -lgcrypt random: startup_notifyServer.o mach_debugUser.o ../libtrivfs/libtrivfs.a |