The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / iprutils / 0003-Fix-static-build-by-passing-the-libraries-i.patch
1 From 1f62dd91314b0ce6378aeafb2a03566002036326 Mon Sep 17 00:00:00 2001
2 From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
3 Date: Thu, 11 Dec 2014 23:36:55 +0100
4 Subject: [PATCH 3/3] iprutils: Fix static build by passing the libraries in
5  the right order
6
7 This mistake was causing failures like this one:
8
9 m_post.c:(.text+0x60): undefined reference to `wattr_on'
10
11 http://autobuild.buildroot.net/results/500/5004e7b230635e0605acdd17d2b7d2d01fc5075c/build-end.log
12
13 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
14 [Romain: rebase on top of 2.4.5]
15 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
16 ---
17  Makefile | 2 +-
18  1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/Makefile b/Makefile
21 index 66c4942..18cea94 100644
22 --- a/Makefile
23 +++ b/Makefile
24 @@ -16,7 +16,7 @@ TAR = cd .. && tar -zcpf iprutils-$(UTILS_VER)-src.tgz --exclude .git --exclude
25  all: iprconfig iprupdate iprdump iprinit iprdbg docs 
26  
27  iprconfig: iprconfig.c iprlib.o iprconfig.h
28 -       $(CC) $(CFLAGS) $(INCLUDEDIR) -o iprconfig iprconfig.c iprlib.o $(LDFLAGS) -lform -lpanel -lncurses -lmenu -lm
29 +       $(CC) $(CFLAGS) $(INCLUDEDIR) -o iprconfig iprconfig.c iprlib.o $(LDFLAGS) -lform -lpanel -lmenu -lncurses -lm
30  
31  iprupdate: iprupdate.c iprlib.o
32         $(CC) $(CFLAGS) $(INCLUDEDIR) -o iprupdate iprlib.o iprupdate.c $(LDFLAGS)
33 -- 
34 1.9.3
35