blob: e1ab3d3766769105d2a001b0e0eacfede7cfcd34 [file] [log] [blame]
From 8720a71757f3626bf3bbc3a7aa2185e6387e5689 Mon Sep 17 00:00:00 2001
From: Marc Kleine-Budde <>
Date: Tue, 1 Dec 2009 20:37:31 +0100
Subject: [PATCH 3/5] add LDFLAGS to linking stage
The linking stage ignores the LDFLAGS, this breaks if the flex library
lives in a non standard location.
This patch add LDFLAGS to both "at" and "atd" linking stage.
Signed-off-by: Marc Kleine-Budde <>
--- | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ b/
index dae6b7d..b766bbb 100644
--- a/
+++ b/
@@ -65,13 +65,13 @@ LIST = Filelist Filelist.asc
all: at atd atrun
- $(CC) $(CFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB)
rm -f $(CLONES)
$(LN_S) -f at atq
$(LN_S) -f at atrm
- $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) parsetime.y
$(YACC) -d parsetime.y