glib: build with lto

This commit is contained in:
Stefan Saraev 2014-04-24 20:08:55 +03:00 committed by Stephan Raue
parent ee81551b11
commit 9828485c47

View File

@ -78,11 +78,6 @@ pre_configure_host() {
export LIBFFI_LIBS="-L$ROOT/$TOOLCHAIN/lib -lffi"
}
pre_configure_target() {
# glib segfaults with LTO optimization
strip_lto
}
post_makeinstall_host() {
cp -f gobject/.libs/glib-genmarshal $ROOT/$TOOLCHAIN/bin
cp -f gobject/glib-mkenums $ROOT/$TOOLCHAIN/bin