mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
libssh:
- update link time optimization hack
This commit is contained in:
parent
517025423f
commit
957be85062
@ -6,10 +6,9 @@ $SCRIPTS/build toolchain
|
||||
$SCRIPTS/build zlib
|
||||
$SCRIPTS/build openssl
|
||||
|
||||
# libssh 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||"`
|
||||
# Fails to compile with GCC's link time optimization.
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||
|
||||
cd $PKG_BUILD
|
||||
mkdir -p build
|
||||
|
Loading…
x
Reference in New Issue
Block a user