--- bind-9.9.7.orig/lib/export/dns/Makefile.in 2015-02-18 02:56:06.000000000 +0100 +++ bind-9.9.7/lib/export/dns/Makefile.in 2015-06-07 16:24:50.000000000 +0200 @@ -168,7 +168,7 @@ code.h: gen ./gen -s ${srcdir} > code.h gen: ${srcdir}/gen.c - ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS} + ${BUILD_CC} -I../../isc/include ${BUILD_CFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS} #We don't need rbtdb64 for this library #rbtdb64.@O@: rbtdb.c