summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-11-30 13:35:42 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-02 05:24:59 -0800
commit070f173bdc2e4e6704ae40d0ce54b22b0940c5c8 (patch)
treedab8f5fd94a1a974436c5735c7d4f1b98f275069 /meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch
parentd36f6f4f4050b9a7db3f5ff4b716974800dfd019 (diff)
downloadpoky-070f173bdc2e4e6704ae40d0ce54b22b0940c5c8.tar.gz
bind: add new recipe
version 9.7.2-P2 based on bind recipe from openembedded the exportlib is used by building dhcp Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch')
-rw-r--r--meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch b/meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch
new file mode 100644
index 0000000000..4978379bff
--- /dev/null
+++ b/meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch
@@ -0,0 +1,19 @@
111/30/2010
2gen.c should be build by ${BUILD_CC}
3
4Signed-off-by: Qing He <qing.he@intel.com>
5
6diff --git a/lib/export/dns/Makefile.in b/lib/export/dns/Makefile.in
7index aeadf57..d3fae74 100644
8--- a/lib/export/dns/Makefile.in
9+++ b/lib/export/dns/Makefile.in
10@@ -166,7 +166,8 @@ code.h: gen
11 ./gen -s ${srcdir} > code.h
12
13 gen: ${srcdir}/gen.c
14- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
15+ ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
16+ ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
17
18 #We don't need rbtdb64 for this library
19 #rbtdb64.@O@: rbtdb.c