All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java][PATCH v2] javasqlite: Use BUILD_CC variable instead of cc
@ 2017-06-30  9:30 Ricardo Ribalda Delgado
  0 siblings, 0 replies; only message in thread
From: Ricardo Ribalda Delgado @ 2017-06-30  9:30 UTC (permalink / raw)
  To: openembedded-devel

cc binary is not present in the sysroot-recipe, use the one pointed by
BUILD_CC

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-30  9:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-30  9:30 [meta-java][PATCH v2] javasqlite: Use BUILD_CC variable instead of cc Ricardo Ribalda Delgado

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.