1 From 8720a71757f3626bf3bbc3a7aa2185e6387e5689 Mon Sep 17 00:00:00 2001
2 From: Marc Kleine-Budde <mkl@pengutronix.de>
3 Date: Tue, 1 Dec 2009 20:37:31 +0100
4 Subject: [PATCH 3/5] Makefile.in: add LDFLAGS to linking stage
6 The linking stage ignores the LDFLAGS, this breaks if the flex library
7 lives in a non standard location.
9 This patch add LDFLAGS to both "at" and "atd" linking stage.
11 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
14 1 files changed, 2 insertions(+), 2 deletions(-)
16 diff --git a/Makefile.in b/Makefile.in
17 index dae6b7d..b766bbb 100644
20 @@ -65,13 +65,13 @@ LIST = Filelist Filelist.asc
24 - $(CC) $(CFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB)
25 + $(CC) $(CFLAGS) $(LDFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB)
31 - $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB)
32 + $(CC) $(CFLAGS) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB)
34 y.tab.c y.tab.h: parsetime.y
35 $(YACC) -d parsetime.y