Lines Matching +full:gen +full:- +full:2
4 Subject: [PATCH] Use host compiler to build 'gen' since it's run when
7 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
10 Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
11 ---
12 lib/dns/Makefile.in | 6 ++----
13 1 file changed, 2 insertions(+), 4 deletions(-)
15 diff --git a/lib/dns/Makefile.in b/lib/dns/Makefile.in
17 --- a/lib/dns/Makefile.in
19 @@ -184,10 +184,8 @@ code.h: gen
20 ./gen -s ${srcdir} > code.h || { rm -f $@ ; exit 1; }
22 gen: gen.c
23 - ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
24 - ${LFS_CFLAGS} ${LFS_LDFLAGS} \
25 - ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \
26 - ${BUILD_LIBS} ${LFS_LIBS}
27 + ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \
28 + ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c
32 --