aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/uml-utilities/uml-utilities-20040406/fix-ldflags.patch
blob: a66d7d5906654c9477206b57e4eba1e8bfde4fd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Upstream-Status: Pending


#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- tools/mconsole/Makefile~fix-ldflags	2003-02-08 05:10:08.000000000 +0100
+++ tools/mconsole/Makefile	2004-04-01 15:37:37.000000000 +0200
@@ -7,7 +7,7 @@
 all : $(BIN)
 
 $(BIN) : $(OBJS)
-	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) -lreadline -lncurses
+	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LDFLAGS) -lreadline -lncurses
 
 clean : 
 	rm -f $(BIN) $(OBJS) *~
diff -uNr tools.orig/jailtest/Makefile tools/jailtest/Makefile
--- tools.orig/jailtest/Makefile	2017-04-03 15:56:02.068461380 +0200
+++ tools/jailtest/Makefile	2017-04-03 16:00:04.857449005 +0200
@@ -7,7 +7,7 @@
 all : $(BIN)
 
 $(BIN) : $(OBJS)
-	$(CC) $(CFLAGS) -o $(BIN) $(OBJS)
+	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LDFLAGS)
 
 clean : 
 	rm -f $(BIN) $(OBJS) *~
diff -uNr tools.orig/moo/Makefile tools/moo/Makefile
--- tools.orig/moo/Makefile	2017-04-03 15:56:02.068461380 +0200
+++ tools/moo/Makefile	2017-04-03 15:59:56.466449432 +0200
@@ -10,10 +10,10 @@
 all : $(BIN)
 
 uml_moo : $(uml_moo_OBJS)
-	$(CC) $(CFLAGS) -o $@ $($@_OBJS)
+	$(CC) $(CFLAGS) -o $@ $($@_OBJS) $(LDFLAGS)
 
 uml_mkcow : $(uml_mkcow_OBJS)
-	$(CC) $(CFLAGS) -o $@ $($@_OBJS)
+	$(CC) $(CFLAGS) -o $@ $($@_OBJS) $(LDFLAGS)
 
 $(uml_moo_OBJS) $(uml_mkcow_OBJS) : cow.h cow_sys.h
 
diff -uNr tools.orig/port-helper/Makefile tools/port-helper/Makefile
--- tools.orig/port-helper/Makefile	2017-04-03 15:56:02.068461380 +0200
+++ tools/port-helper/Makefile	2017-04-03 15:59:41.251450208 +0200
@@ -7,7 +7,7 @@
 all : $(BIN)
 
 $(BIN) : $(OBJS)
-	$(CC) $(CFLAGS) -o $(BIN) $(OBJS)
+	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LDFLAGS)
 
 clean : 
 	rm -f $(BIN) $(OBJS) *~
diff -uNr tools.orig/tunctl/Makefile tools/tunctl/Makefile
--- tools.orig/tunctl/Makefile	2017-04-03 15:56:02.068461380 +0200
+++ tools/tunctl/Makefile	2017-04-03 16:00:01.091449197 +0200
@@ -7,7 +7,7 @@
 all : $(BIN)
 
 $(BIN) : $(OBJS)
-	$(CC) $(CFLAGS) -o $(BIN) $(OBJS)
+	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LDFLAGS)
 
 clean : 
 	rm -f $(BIN) $(OBJS) *~
diff -uNr tools.orig/uml_net/Makefile tools/uml_net/Makefile
--- tools.orig/uml_net/Makefile	2017-04-03 15:56:02.068461380 +0200
+++ tools/uml_net/Makefile	2017-04-03 16:00:12.449448618 +0200
@@ -14,7 +14,7 @@
 all : $(BIN)
 
 $(BIN) : $(OBJS)
-	$(CC) $(CFLAGS) -o $(BIN) $(OBJS)
+	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LDFLAGS)
 
 clean : 
 	rm -f $(BIN) $(OBJS) *~
diff -uNr tools.orig/uml_router/Makefile tools/uml_router/Makefile
--- tools.orig/uml_router/Makefile	2017-04-03 15:56:02.068461380 +0200
+++ tools/uml_router/Makefile	2017-04-03 16:00:46.796446867 +0200
@@ -13,7 +13,7 @@
 all : $(BIN)
 
 $(BIN) : $(OBJS)
-	$(CC) $(CFLAGS) -o $(BIN) $(OBJS)
+	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LDFLAGS)
 
 clean : 
 	rm -f $(BIN) $(OBJS) *~
diff -uNr tools.orig/watchdog/Makefile tools/watchdog/Makefile
--- tools.orig/watchdog/Makefile	2017-04-03 15:56:02.068461380 +0200
+++ tools/watchdog/Makefile	2017-04-03 15:59:45.216450006 +0200
@@ -7,7 +7,7 @@
 all : $(BIN)
 
 $(BIN) : $(OBJS)
-	$(CC) $(CFLAGS) -o $(BIN) $(OBJS)
+	$(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LDFLAGS)
 
 clean : 
 	rm -f $(BIN) $(OBJS) *~