mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
various: link with gold if supported
This commit is contained in:
parent
64149d6396
commit
611b07c484
@ -9,7 +9,7 @@ PKG_SITE="https://ffmpeg.org"
|
||||
PKG_URL="https://ffmpeg.org/releases/ffmpeg-${PKG_VERSION}.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain aom bzip2 openssl lame libvorbis opus x264 zlib"
|
||||
PKG_LONGDESC="FFmpegx is an complete FFmpeg build to support encoding and decoding."
|
||||
PKG_BUILD_FLAGS="-gold -sysroot"
|
||||
PKG_BUILD_FLAGS="-sysroot"
|
||||
|
||||
# Dependencies
|
||||
get_graphicdrivers
|
||||
|
@ -7,7 +7,6 @@ PKG_LICENSE="LGPLv2.1+"
|
||||
PKG_SITE="https://ffmpeg.org"
|
||||
PKG_DEPENDS_TARGET="toolchain zlib bzip2 openssl speex"
|
||||
PKG_LONGDESC="FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video."
|
||||
PKG_BUILD_FLAGS="-gold"
|
||||
|
||||
case "${PROJECT}" in
|
||||
Amlogic)
|
||||
|
@ -11,7 +11,6 @@ PKG_URL="https://download.samba.org/pub/samba/stable/${PKG_NAME}-${PKG_VERSION}.
|
||||
PKG_DEPENDS_TARGET="toolchain attr heimdal:host e2fsprogs Python3 libunwind zlib readline popt libaio connman gnutls wsdd2"
|
||||
PKG_NEED_UNPACK="$(get_pkg_directory heimdal) $(get_pkg_directory e2fsprogs)"
|
||||
PKG_LONGDESC="A free SMB / CIFS fileserver and client."
|
||||
PKG_BUILD_FLAGS="-gold"
|
||||
|
||||
configure_package() {
|
||||
#PKG_WAF_VERBOSE="-v"
|
||||
|
@ -11,8 +11,7 @@ PKG_URL="https://busybox.net/downloads/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
PKG_DEPENDS_TARGET="toolchain hdparm dosfstools e2fsprogs zip usbutils parted procps-ng gptfdisk libtirpc"
|
||||
PKG_DEPENDS_INIT="toolchain libtirpc"
|
||||
PKG_LONGDESC="BusyBox combines tiny versions of many common UNIX utilities into a single small executable."
|
||||
# busybox fails to build with GOLD support enabled with binutils-2.25
|
||||
PKG_BUILD_FLAGS="-parallel -gold"
|
||||
PKG_BUILD_FLAGS="-parallel"
|
||||
|
||||
# nano text editor
|
||||
if [ "${NANO_EDITOR}" = "yes" ]; then
|
||||
|
@ -10,8 +10,6 @@ PKG_SITE="https://github.com/libfuse/libfuse/"
|
||||
PKG_URL="https://github.com/libfuse/libfuse/releases/download/${PKG_NAME}-${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="FUSE provides a simple interface for userspace programs to export a virtual filesystem to the Linux kernel."
|
||||
# fuse fails to build with GOLD linker on gcc-4.9
|
||||
PKG_BUILD_FLAGS="-gold"
|
||||
PKG_TOOLCHAIN="autotools"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="MOUNT_FUSE_PATH=/usr/sbin \
|
||||
|
Loading…
x
Reference in New Issue
Block a user