diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-connectivity/bind/bind/cross-build-fix.patch | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-connectivity/bind/bind/cross-build-fix.patch')
-rw-r--r-- | meta/recipes-connectivity/bind/bind/cross-build-fix.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind/cross-build-fix.patch b/meta/recipes-connectivity/bind/bind/cross-build-fix.patch new file mode 100644 index 0000000000..4c37b6b00c --- /dev/null +++ b/meta/recipes-connectivity/bind/bind/cross-build-fix.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | 11/30/2010 | ||
4 | gen.c should be build by ${BUILD_CC} | ||
5 | |||
6 | Signed-off-by: Qing He <qing.he@intel.com> | ||
7 | |||
8 | diff --git a/lib/export/dns/Makefile.in b/lib/export/dns/Makefile.in | ||
9 | index aeadf57..d3fae74 100644 | ||
10 | --- a/lib/export/dns/Makefile.in | ||
11 | +++ b/lib/export/dns/Makefile.in | ||
12 | @@ -166,7 +166,8 @@ code.h: gen | ||
13 | ./gen -s ${srcdir} > code.h | ||
14 | |||
15 | gen: ${srcdir}/gen.c | ||
16 | - ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS} | ||
17 | + ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \ | ||
18 | + ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS} | ||
19 | |||
20 | #We don't need rbtdb64 for this library | ||
21 | #rbtdb64.@O@: rbtdb.c | ||