Skip to contentSkip to conversation

javasqlite: Use BUILD_CC variable instead of cc

PATCH New Ricardo Ribalda Delgado 1 participant 1 message Jun 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 javasqlite: Use BUILD_CC variable instead of cc

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

---
 .../javasqlite/files/0001-fix-errors-during-cross-compile.patch         | 2 +-
 recipes-core/javasqlite/javasqlite_20150419.bb                          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-core/javasqlite/files/0001-fix-errors-during-cross-compile.patch +1 -1
index fc0da704230e..7f423535dded 100644
@@ -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
recipes-core/javasqlite/javasqlite_20150419.bb +1 -1
index d721d66cc6c7..f69fddee0d2c 100644
@@ -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 \
Signature · 1 line
2.11.0