summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/at/files/use-ldflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/at/files/use-ldflags.patch')
-rw-r--r--meta/recipes-extended/at/files/use-ldflags.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-extended/at/files/use-ldflags.patch b/meta/recipes-extended/at/files/use-ldflags.patch
new file mode 100644
index 0000000000..7d3d91a19a
--- /dev/null
+++ b/meta/recipes-extended/at/files/use-ldflags.patch
@@ -0,0 +1,21 @@
1# Ensure use of $LDFLAGS during build
2# Derived from an OE patch for at-3.1.8
3
4--- at-3.1.12.orig/Makefile.in 2009-11-23 07:11:52.000000000 -0800
5+++ at-3.1.12/Makefile.in 2010-07-20 16:28:04.000000000 -0700
6@@ -65,13 +65,13 @@
7 all: at atd atrun
8
9 at: $(ATOBJECTS)
10- $(CC) $(CFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB)
11+ $(CC) $(CFLAGS) -o at $(ATOBJECTS) $(LIBS) $(LEXLIB) $(LDFLAGS)
12 rm -f $(CLONES)
13 $(LN_S) -f at atq
14 $(LN_S) -f at atrm
15
16 atd: $(RUNOBJECTS)
17- $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB)
18+ $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(PAMLIB) $(LDFLAGS)
19
20 y.tab.c y.tab.h: parsetime.y
21 $(YACC) -d parsetime.y