[oe] [meta-java][PATCH v2] javasqlite: Use BUILD_CC variable instead of cc
Ricardo Ribalda Delgado
ricardo.ribalda at gmail.com
Fri Jun 30 09:30:11 UTC 2017
cc binary is not present in the sysroot-recipe, use the one pointed by
BUILD_CC
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
---
.../javasqlite/files/0001-fix-errors-during-cross-compile.patch | 2 +-
recipes-core/javasqlite/javasqlite_20150419.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch b/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
index fc0da704230e..7f423535dded 100644
--- a/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
+++ b/recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch
@@ -106,7 +106,7 @@ index aa46b24..c0fd87f 100644
- $(LIBTOOL) --mode=link $(HOSTCC) @HOST_CFLAGS@ $(SQLITE_INC) \
- $(SQLITE3_INC) -DHAVE_SQLITE2=@HAVE_SQLITE2@ \
- -DHAVE_SQLITE3=@HAVE_SQLITE3@ -o native/mkconst native/mkconst.c
-+ $(LIBTOOL) --mode=link $(HOSTCC) $(CFLAGS_HOST) -o native/mkconst native/mkconst.c
++ $(LIBTOOL) --mode=link $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $(CFLAGS_HOST) -o native/mkconst native/mkconst.c
Makefile: Makefile.in configure config.status
./config.status
diff --git a/recipes-core/javasqlite/javasqlite_20150419.bb b/recipes-core/javasqlite/javasqlite_20150419.bb
index d721d66cc6c7..f69fddee0d2c 100644
--- a/recipes-core/javasqlite/javasqlite_20150419.bb
+++ b/recipes-core/javasqlite/javasqlite_20150419.bb
@@ -7,7 +7,7 @@ That API is wrapped by methods in the SQLite.Database class."
LICENSE = "BSD"
SECTION = "application"
-PR = "r0"
+PE = "1"
SRC_URI = " \
http://www.ch-werner.de/javasqlite/${BPN}-${PV}.tar.gz \
file://0001-fix-errors-during-cross-compile.patch \
--
2.11.0
More information about the Openembedded-devel
mailing list