mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
glib: build with lto
This commit is contained in:
parent
ee81551b11
commit
9828485c47
@ -78,11 +78,6 @@ pre_configure_host() {
|
|||||||
export LIBFFI_LIBS="-L$ROOT/$TOOLCHAIN/lib -lffi"
|
export LIBFFI_LIBS="-L$ROOT/$TOOLCHAIN/lib -lffi"
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_configure_target() {
|
|
||||||
# glib segfaults with LTO optimization
|
|
||||||
strip_lto
|
|
||||||
}
|
|
||||||
|
|
||||||
post_makeinstall_host() {
|
post_makeinstall_host() {
|
||||||
cp -f gobject/.libs/glib-genmarshal $ROOT/$TOOLCHAIN/bin
|
cp -f gobject/.libs/glib-genmarshal $ROOT/$TOOLCHAIN/bin
|
||||||
cp -f gobject/glib-mkenums $ROOT/$TOOLCHAIN/bin
|
cp -f gobject/glib-mkenums $ROOT/$TOOLCHAIN/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user