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 / jhead / 0001-use-ldflags.patch
1 Make jhead use LDFLAGS for the final link.
2
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4
5 diff -Nura jhead-2.97.orig/makefile jhead-2.97/makefile
6 --- jhead-2.97.orig/makefile    2013-03-27 09:22:38.759966389 -0300
7 +++ jhead-2.97/makefile 2013-03-27 09:25:06.290691745 -0300
8 @@ -14,7 +14,7 @@
9         ${CC} $(CFLAGS) -c $< -o $@
10  
11  jhead: $(objs) jhead.h
12 -       ${CC} -o jhead $(objs) -lm
13 +       ${CC} $(LDFLAGS) -o jhead $(objs) -lm
14  
15  clean:
16         rm -f $(objs) jhead