mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
commit
925864666d
@ -1,12 +1,5 @@
|
|||||||
if [ "$OPTIMIZATIONS" = normal ];then
|
GCC_OPTIM="-Os"
|
||||||
GCC_OPTIM="-O2"
|
LD_OPTIM="-Wl,--as-needed"
|
||||||
LD_OPTIM=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$OPTIMIZATIONS" = size ];then
|
|
||||||
GCC_OPTIM="-Os -fexcess-precision=fast"
|
|
||||||
LD_OPTIM="-Wl,--as-needed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$LTO_SUPPORT" = yes ];then
|
if [ "$LTO_SUPPORT" = yes ];then
|
||||||
GCC_OPTIM_LTO="-flto -ffat-lto-objects"
|
GCC_OPTIM_LTO="-flto -ffat-lto-objects"
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
# LTO (Link Time Optimization) support
|
||||||
|
LTO_SUPPORT="yes"
|
||||||
|
|
||||||
|
# GOLD (Google Linker) support
|
||||||
|
GOLD_SUPPORT="yes"
|
||||||
|
|
||||||
# Name of the Distro to build (full name, without special characters)
|
# Name of the Distro to build (full name, without special characters)
|
||||||
DISTRONAME="LibreELEC"
|
DISTRONAME="LibreELEC"
|
||||||
|
|
||||||
|
@ -44,18 +44,9 @@
|
|||||||
# setup build defaults
|
# setup build defaults
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# Project CFLAGS
|
# Project CFLAGS
|
||||||
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
|
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
|
||||||
LTO_SUPPORT="yes"
|
|
||||||
|
|
||||||
# GOLD (Google Linker) support
|
|
||||||
GOLD_SUPPORT="yes"
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
SQUASHFS_COMPRESSION="gzip"
|
SQUASHFS_COMPRESSION="gzip"
|
||||||
|
|
||||||
|
@ -51,18 +51,9 @@
|
|||||||
# setup build defaults
|
# setup build defaults
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# Project CFLAGS
|
# Project CFLAGS
|
||||||
PROJECT_CFLAGS=""
|
PROJECT_CFLAGS=""
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
|
||||||
LTO_SUPPORT="yes"
|
|
||||||
|
|
||||||
# GOLD (Google Linker) support
|
|
||||||
GOLD_SUPPORT="yes"
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
SQUASHFS_COMPRESSION="lzo"
|
SQUASHFS_COMPRESSION="lzo"
|
||||||
|
|
||||||
|
@ -69,18 +69,9 @@
|
|||||||
# setup build defaults
|
# setup build defaults
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# Project CFLAGS
|
# Project CFLAGS
|
||||||
PROJECT_CFLAGS=""
|
PROJECT_CFLAGS=""
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
|
||||||
LTO_SUPPORT="yes"
|
|
||||||
|
|
||||||
# GOLD (Google Linker) support
|
|
||||||
GOLD_SUPPORT="yes"
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
SQUASHFS_COMPRESSION="lzo"
|
SQUASHFS_COMPRESSION="lzo"
|
||||||
|
|
||||||
|
@ -69,18 +69,9 @@
|
|||||||
# setup build defaults
|
# setup build defaults
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# Project CFLAGS
|
# Project CFLAGS
|
||||||
PROJECT_CFLAGS=""
|
PROJECT_CFLAGS=""
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
|
||||||
LTO_SUPPORT="yes"
|
|
||||||
|
|
||||||
# GOLD (Google Linker) support
|
|
||||||
GOLD_SUPPORT="yes"
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
SQUASHFS_COMPRESSION="lzo"
|
SQUASHFS_COMPRESSION="lzo"
|
||||||
|
|
||||||
|
@ -44,18 +44,9 @@
|
|||||||
# setup build defaults
|
# setup build defaults
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# Project CFLAGS
|
# Project CFLAGS
|
||||||
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
|
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
|
||||||
LTO_SUPPORT="yes"
|
|
||||||
|
|
||||||
# GOLD (Google Linker) support
|
|
||||||
GOLD_SUPPORT="yes"
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
SQUASHFS_COMPRESSION="gzip"
|
SQUASHFS_COMPRESSION="gzip"
|
||||||
|
|
||||||
|
@ -71,18 +71,9 @@
|
|||||||
# setup build defaults
|
# setup build defaults
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# Project CFLAGS
|
# Project CFLAGS
|
||||||
PROJECT_CFLAGS=""
|
PROJECT_CFLAGS=""
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
|
||||||
LTO_SUPPORT="yes"
|
|
||||||
|
|
||||||
# GOLD (Google Linker) support
|
|
||||||
GOLD_SUPPORT="yes"
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
SQUASHFS_COMPRESSION="lzo"
|
SQUASHFS_COMPRESSION="lzo"
|
||||||
|
|
||||||
|
@ -59,18 +59,9 @@
|
|||||||
# setup build defaults
|
# setup build defaults
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# Project CFLAGS
|
# Project CFLAGS
|
||||||
PROJECT_CFLAGS=""
|
PROJECT_CFLAGS=""
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
|
||||||
LTO_SUPPORT="yes"
|
|
||||||
|
|
||||||
# GOLD (Google Linker) support
|
|
||||||
GOLD_SUPPORT="yes"
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
SQUASHFS_COMPRESSION="lzo"
|
SQUASHFS_COMPRESSION="lzo"
|
||||||
|
|
||||||
|
@ -65,18 +65,9 @@
|
|||||||
# setup build defaults
|
# setup build defaults
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# Project CFLAGS
|
# Project CFLAGS
|
||||||
PROJECT_CFLAGS=""
|
PROJECT_CFLAGS=""
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
|
||||||
LTO_SUPPORT="yes"
|
|
||||||
|
|
||||||
# GOLD (Google Linker) support
|
|
||||||
GOLD_SUPPORT="yes"
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
SQUASHFS_COMPRESSION="lzo"
|
SQUASHFS_COMPRESSION="lzo"
|
||||||
|
|
||||||
|
@ -76,18 +76,9 @@
|
|||||||
# setup build defaults
|
# setup build defaults
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Build optimizations (size/normal)
|
|
||||||
OPTIMIZATIONS="size"
|
|
||||||
|
|
||||||
# Project CFLAGS
|
# Project CFLAGS
|
||||||
PROJECT_CFLAGS=""
|
PROJECT_CFLAGS=""
|
||||||
|
|
||||||
# LTO (Link Time Optimization) support
|
|
||||||
LTO_SUPPORT="yes"
|
|
||||||
|
|
||||||
# GOLD (Google Linker) support
|
|
||||||
GOLD_SUPPORT="yes"
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
# SquashFS compression method (gzip / lzo / xz)
|
||||||
SQUASHFS_COMPRESSION="gzip"
|
SQUASHFS_COMPRESSION="gzip"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user