summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-12-30 22:17:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2018-01-02 03:13:44 +0100
commit746b5ab14743502c7bab538e5792aa66e88769f0 (patch)
treeab80e35536a53af67618d925c78b0f9a079076bd /package
parent15e5974a9b4621a99eb86bc0fcad560996461562 (diff)
kodi: allow uClibc-ng build
Diffstat (limited to 'package')
-rw-r--r--package/kodi/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/kodi/Makefile b/package/kodi/Makefile
index c4e689666..9d8d5d7b7 100644
--- a/package/kodi/Makefile
+++ b/package/kodi/Makefile
@@ -45,7 +45,8 @@ HOST_CXXFLAGS:= -DTARGET_POSIX -DTARGET_LINUX -D_LINUX -I$(WRKBUILD)/../../xbmc
CONFIG_STYLE:= cmake
CMAKE_FLAGS+= -DENABLE_CCACHE=OFF \
- -DCMAKE_BUILD_TYPE=Debug \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DVERBOSE=ON \
-DENABLE_DVDCSS=ON \
-DENABLE_INTERNAL_CROSSGUID=OFF \
-DENABLE_INTERNAL_FFMPEG=OFF \
@@ -89,6 +90,10 @@ else
CMAKE_FLAGS+= -DCORE_SYSTEM_NAME=linux
endif
+ifeq ($(ADK_TARGET_LIB_UCLIBC_NG),y)
+TARGET_CXXFLAGS+= -liconv
+endif
+
pre-configure:
(cd $(WRKBUILD)/../../tools/depends/native/JsonSchemaBuilder && PATH='$(HOST_PATH)' cmake .)
PATH='$(HOST_PATH)' make -C $(WRKBUILD)/../../tools/depends/native/JsonSchemaBuilder