glib: fails to build with lto optimization

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-27 02:51:19 +01:00
parent f418511559
commit 3f55a26e64

View File

@ -4,8 +4,7 @@
# Fails to compile with GCC link time optimization, outputing the error:
# "mem-overflow.c:137:1: sorry, unimplemented: gimple bytecode streams do not support the optimization attribute".
# CFLAGS=`echo $CFLAGS | sed -e "s|-flto||"`
# LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||"`
strip_lto
cd $PKG_BUILD
mkdir -p .build-target && cd .build-target