summaryrefslogtreecommitdiff
path: root/package/bind/bind-cross.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/bind/bind-cross.patch')
-rw-r--r--package/bind/bind-cross.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/bind/bind-cross.patch b/package/bind/bind-cross.patch
new file mode 100644
index 000000000..cdbf4cb89
--- /dev/null
+++ b/package/bind/bind-cross.patch
@@ -0,0 +1,14 @@
+diff -Nura bind-9.5.1-P1/lib/dns/Makefile.in bind-9.5.1-P1.gencross/lib/dns/Makefile.in
+--- bind-9.5.1-P1/lib/dns/Makefile.in 2007-09-11 22:09:08.000000000 -0300
++++ bind-9.5.1-P1.gencross/lib/dns/Makefile.in 2009-03-04 16:35:23.000000000 -0200
+@@ -160,8 +160,8 @@
+ ./gen -s ${srcdir} > code.h
+
+ gen: gen.c
+- ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
+- ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
++ ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \
++ ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c
+
+ rbtdb64.@O@: rbtdb.c
+