mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
zlib:
- remove link time optimization hack (not more needed)
This commit is contained in:
parent
de20d78f48
commit
3eb74d6830
@ -4,11 +4,6 @@
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
# zlib 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
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
|
Loading…
x
Reference in New Issue
Block a user