1 From d8dbd903d024f84a149dac2f8a674a68dfed47a3 Mon Sep 17 00:00:00 2001
2 From: Yousong Zhou <yszhou4tech@gmail.com>
3 Date: Mon, 5 Jan 2015 17:03:35 +0000
4 Subject: [PATCH 025/113] Fix race condition issue in makefile.
8 1 file changed, 3 insertions(+), 1 deletion(-)
10 diff --git a/Makefile b/Makefile
11 index 5675f60c2036..bcbd5571671d 100644
14 @@ -148,10 +148,12 @@ $(copts_conf): $(hdrs)
15 $(objs:.o=.c) $(hdrs):
16 ln -s $(top)/$(SRC)/$@ .
18 +$(objs): $(copts_conf) $(hdrs)
21 $(CC) $(CFLAGS) $(COPTS) $(i18n) $(build_cflags) $(RPM_OPT_FLAGS) -c $<
23 -dnsmasq : $(copts_conf) $(hdrs) $(objs)
25 $(CC) $(LDFLAGS) -o $@ $(objs) $(build_libs) $(LIBS)
27 dnsmasq.pot : $(objs:.o=.c) $(hdrs)