From 2e529e785a1c3c5f4601e61496f49035f19376d6 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 30 Apr 2022 22:24:34 +0200 Subject: [PATCH] Document a race condition issue --- src/project.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/project.conf b/src/project.conf index c8ab96f..f43ba21 100644 --- a/src/project.conf +++ b/src/project.conf @@ -19,6 +19,8 @@ cflags=-W -Wall -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector [cpp] type=binary sources=main.c +#XXX should really use this (race condition with "make -k") +depends=$(OBJDIR)lib/libcpp$(SOEXT) depends=$(OBJDIR)lib/libcpp.a ldflags=-L$(OBJDIR)lib -L$(LIBDIR) -Wl,-rpath,$(LIBDIR) -lcpp install=$(BINDIR)