mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
llvm: fix build with gcc-4.8
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3068ccf26a
commit
338c9c543a
@ -110,8 +110,14 @@ pre_configure_host() {
|
||||
}
|
||||
|
||||
pre_configure_target() {
|
||||
# llvm fails to build with LTO support
|
||||
# llvm fails to build with LTO support
|
||||
strip_lto
|
||||
|
||||
# llvm 3.3+ fails to build with -Os
|
||||
# see https://bugs.gentoo.org/show_bug.cgi?id=489708
|
||||
# please test without this on llvm upgrade
|
||||
export CFLAGS=`echo $CFLAGS | sed -e "s|-Os|-O2|"`
|
||||
export CXXFLAGS=`echo $CFLAGS | sed -e "s|-Os|-O2|"`
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user