From 4e57b15106acd0972539cc6e4bedbcb7210e4445 Mon Sep 17 00:00:00 2001 From: Derek Bruening Date: Wed, 13 Mar 2019 13:06:55 -0400 Subject: [PATCH] i#3437: Add generated header dependence to drmemfuncs Adds a dependence on the generated event headers to drmemfuncs to fix a build race. Issue: #3315 Fixes #3437 --- core/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index c7f8cb71d9d..5985fdbc5ec 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -89,6 +89,7 @@ if (UNIX AND X86) add_asm_target(arch/x86/memfuncs.asm memfuncs_asm_src memfuncs_asm_tgt "_memfuncs" "" "${asm_deps}") add_library(drmemfuncs STATIC ${memfuncs_asm_src} lib/memmove.c) + add_gen_events_deps(drmemfuncs) endif () # i#1409: to share core libc-ish code with non-core, we use the "drlibc" library.