mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
ncurses:
- remove link time optimization hack (not more needed)
This commit is contained in:
parent
3eb74d6830
commit
22fc79ca5b
@ -18,11 +18,6 @@ cd "$CWD"
|
|||||||
|
|
||||||
setup_toolchain target
|
setup_toolchain target
|
||||||
|
|
||||||
# programs based on ncurses (gdb, mysql) 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||"`
|
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user