eglibc: force build with -O2 optimization

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-07-10 23:16:57 +02:00
parent 797878f553
commit 67fb5a945f

View File

@ -27,6 +27,7 @@ strip_gold # Fails to compile using the gold linker.
# Filter out some problematic CFLAGS
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"`
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O2|"`
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-O2|"`
# set some CFLAGS we need