mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Libaacs compiles fine under subdir and remove "unrecognized options: --disable-examples, --disable-debug"
also i dont think the patch is needed. enable autoreconf
This commit is contained in:
parent
db8e8a7056
commit
342505ff32
@ -35,17 +35,9 @@ PKG_AUTORECONF="yes"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-werror \
|
||||
--disable-extra-warnings \
|
||||
--disable-optimizations \
|
||||
--disable-examples \
|
||||
--disable-debug \
|
||||
--with-gnu-ld"
|
||||
|
||||
pre_configure_target() {
|
||||
# libaacs fails to build in subdirs
|
||||
cd $ROOT/$PKG_BUILD
|
||||
rm -rf .$TARGET_NAME
|
||||
}
|
||||
|
||||
post_makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/config/aacs
|
||||
cp -P KEYDB.cfg $INSTALL/usr/config/aacs
|
||||
cp -P ../KEYDB.cfg $INSTALL/usr/config/aacs
|
||||
}
|
||||
|
@ -1,14 +0,0 @@
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 466f7f9..0dec17f 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -27,7 +27,7 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip])
|
||||
AC_CONFIG_HEADERS(config.h)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
-SET_FEATURES="-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L"
|
||||
+SET_FEATURES="-D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500"
|
||||
|
||||
case "${host_os}" in
|
||||
"")
|
||||
|
Loading…
x
Reference in New Issue
Block a user