mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 12:46:53 +00:00
commit
d30d87f01d
@ -32,8 +32,6 @@ PKG_LONGDESC="Enca detects the encoding of text files, on the basis of knowledge
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
|
||||||
|
|
||||||
PKG_MAKEINSTALL_OPTS_TARGET="-C lib"
|
PKG_MAKEINSTALL_OPTS_TARGET="-C lib"
|
||||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__dev_random=yes \
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__dev_random=yes \
|
||||||
ac_cv_file__dev_urandom=no \
|
ac_cv_file__dev_urandom=no \
|
||||||
@ -47,6 +45,10 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_file__dev_random=yes \
|
|||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--with-gnu-ld"
|
--with-gnu-ld"
|
||||||
|
|
||||||
|
pre_configure_target() {
|
||||||
|
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||||
|
}
|
||||||
|
|
||||||
pre_make_target() {
|
pre_make_target() {
|
||||||
make CC="$HOST_CC" \
|
make CC="$HOST_CC" \
|
||||||
CPPFLAGS="$HOST_CPPFLAGS" \
|
CPPFLAGS="$HOST_CPPFLAGS" \
|
||||||
|
@ -42,8 +42,10 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
|||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--without-glib"
|
--without-glib"
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -DFRIBIDI_CHUNK_SIZE=4080"
|
pre_configure_target() {
|
||||||
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
export CFLAGS="$CFLAGS -DFRIBIDI_CHUNK_SIZE=4080"
|
||||||
|
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||||
|
}
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
mkdir -p $ROOT/$TOOLCHAIN/bin
|
mkdir -p $ROOT/$TOOLCHAIN/bin
|
||||||
|
@ -33,8 +33,6 @@ PKG_LONGDESC="Squashfs is intended to be a general read-only filesystem, for arc
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
export LDFLAGS="$LDFLAGS -fwhole-program"
|
|
||||||
|
|
||||||
make_host() {
|
make_host() {
|
||||||
make -C squashfs-tools mksquashfs \
|
make -C squashfs-tools mksquashfs \
|
||||||
XZ_SUPPORT=1 LZO_SUPPORT=1 \
|
XZ_SUPPORT=1 LZO_SUPPORT=1 \
|
||||||
|
@ -33,5 +33,3 @@ PKG_IS_ADDON="no"
|
|||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
PKG_MAKE_OPTS_TARGET="binprefix=/usr sbindir=/usr/bin"
|
PKG_MAKE_OPTS_TARGET="binprefix=/usr sbindir=/usr/bin"
|
||||||
|
|
||||||
export LDFLAGS="$CFLAGS $LDFLAGS -fwhole-program"
|
|
||||||
|
@ -35,9 +35,11 @@ PKG_AUTORECONF="yes"
|
|||||||
PKG_CONFIGURE_OPTS_TARGET="--disable-utf8 \
|
PKG_CONFIGURE_OPTS_TARGET="--disable-utf8 \
|
||||||
--disable-nls"
|
--disable-nls"
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/ncurses"
|
pre_configure_target() {
|
||||||
export LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
export CFLAGS="$CFLAGS -I$SYSROOT_PREFIX/usr/include/ncurses"
|
||||||
export LIBS="$LIBS -lz"
|
export LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
||||||
|
export LIBS="$LIBS -lz"
|
||||||
|
}
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
rm -rf $INSTALL/usr/share/nano
|
rm -rf $INSTALL/usr/share/nano
|
||||||
|
@ -32,7 +32,9 @@ PKG_LONGDESC="Xorg-launch-helper is a small utility that transforms the X server
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
PKG_AUTORECONF="yes"
|
PKG_AUTORECONF="yes"
|
||||||
|
|
||||||
export LIBS="-lsystemd"
|
pre_configure_target() {
|
||||||
|
export LIBS="-lsystemd"
|
||||||
|
}
|
||||||
|
|
||||||
post_makeinstall_target() {
|
post_makeinstall_target() {
|
||||||
# do not install systemd services
|
# do not install systemd services
|
||||||
|
Loading…
x
Reference in New Issue
Block a user