bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH hurd] trans: Fix parallel build race around MIG-generated headers


From: David Michael
Subject: [PATCH hurd] trans: Fix parallel build race around MIG-generated headers
Date: Sat, 10 Jun 2017 12:30:35 -0700

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.
---
 trans/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/trans/Makefile b/trans/Makefile
index f02ddf7..b2f63ca 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
-- 
2.7.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]