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 / bind / 0002-cross.patch
1 Use host compiler to build 'gen' since it's run when building.
2
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4
5 diff -Nura bind-9.5.1-P1/lib/dns/Makefile.in bind-9.5.1-P1.gencross/lib/dns/Makefile.in
6 --- bind-9.5.1-P1/lib/dns/Makefile.in   2007-09-11 22:09:08.000000000 -0300
7 +++ bind-9.5.1-P1.gencross/lib/dns/Makefile.in  2009-03-04 16:35:23.000000000 -0200
8 @@ -160,8 +160,8 @@
9         ./gen -s ${srcdir} > code.h
10
11  gen: gen.c
12 -       ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
13 -       ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
14 +       ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \
15 +       ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c
16
17  rbtdb64.@O@: rbtdb.c
18