mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
bash:
- disable build with LTO support
This commit is contained in:
parent
efb2da0c0f
commit
42188749f6
@ -4,11 +4,17 @@
|
|||||||
|
|
||||||
$SCRIPTS/build toolchain
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
|
# bash fails to compile with GCC 4.5.0's link time optimization.
|
||||||
|
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||||
|
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||||
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
./configure --host=$TARGET_NAME \
|
||||||
--build=$HOST_NAME \
|
--build=$HOST_NAME \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
|
--with-gnu-ld \
|
||||||
--without-bash-malloc \
|
--without-bash-malloc \
|
||||||
--without-installed-readline \
|
--without-installed-readline \
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user