From bf1afc9cf958c9270ab73236028097ca0113b176 Mon Sep 17 00:00:00 2001 From: David Michael Date: Sat, 10 Jun 2017 12:30:35 -0700 Subject: 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. --- trans/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'trans') 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 -- cgit v1.2.3