blob: 0dc88451c159dcfbfad57751bff56bd895b748a5 [file] [log] [blame]
William A. Kennington IIIb2c53062021-02-09 17:48:19 -08001From 8fc429f59df50e1f468c8e9616a6e7ef42cc6ebf Mon Sep 17 00:00:00 2001
2From: "William A. Kennington III" <wak@google.com>
3Date: Thu, 28 May 2020 22:51:47 -0700
4Subject: [PATCH] makefile: Add missing LDFLAGS
5
6---
7 Makefile | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/Makefile b/Makefile
11index a4d5f10..4976726 100644
12--- a/Makefile
13+++ b/Makefile
14@@ -6,7 +6,7 @@ all: example checker
15 CFLAGS=-g
16
17 checker: confcheck.o
18- $(CC) $(CFLAGS) -o confcheck confcheck.o -lconfig
19+ $(CC) $(CFLAGS) -o confcheck confcheck.o $(LDFLAGS) -lconfig
20
21
22 install:
23@@ -19,7 +19,7 @@ uninstall:
24
25 EG_OBJ=example.o parser.o argtable3.o
26 example: $(EG_OBJ)
27- $(CC) $(CFLAGS) -o example $(EG_OBJ) -lconfig
28+ $(CC) $(CFLAGS) -o example $(EG_OBJ) $(LDFLAGS) -lconfig
29
30 example.c: eg_conf.cfg
31 ./conf2struct eg_conf.cfg
32--
332.27.0.rc0.183.gde8f92d652-goog
34