void-packages/srcpkgs/kodi-rpi/patches/jsonschemabuilder-cross.patch

12 lines
424 B
Diff

--- tools/depends/native/JsonSchemaBuilder/Makefile.orig 2015-02-06 16:03:11.758503904 +0100
+++ tools/depends/native/JsonSchemaBuilder/Makefile 2015-02-06 16:03:29.557107942 +0100
@@ -15,7 +15,7 @@ endif
SOURCE=$(ROOT_DIR)/src
-CONFIGURE=./configure --prefix=$(PREFIX)
+CONFIGURE=CC=cc CXX=g++ CFLAGS= CXXFLAGS= ./configure --prefix=$(PREFIX)
APP=$(SOURCE)/JsonSchemaBuilder
APPBIN=$(PREFIX)/bin/JsonSchemaBuilder