mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
m4:
- remove link time optimization hack (no more needed)
This commit is contained in:
parent
62717faf28
commit
5927d04ba0
@ -23,11 +23,6 @@
|
||||
# build for target
|
||||
setup_toolchain target
|
||||
|
||||
# Fails to compile with GCC's link time optimization.
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||"`
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||" -e "s|-fuse-linker-plugin||" -e "s|-fwhole-program||"`
|
||||
|
||||
cd $BUILD/$1*
|
||||
mkdir -p .objdir-target
|
||||
cd .objdir-target
|
||||
|
Loading…
x
Reference in New Issue
Block a user