eglibc: force building with -O2, thanks to TheUni

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-12-16 21:51:05 +01:00
parent 94dcbc4b25
commit 4c3569f108

View File

@ -6,7 +6,7 @@ strip_lto # Fails to compile with GCC's link time optimization.
strip_gold # Fails to compile using the gold linker.
# Filter out some problematic CFLAGS
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"` # -e "s|-O.|-O3|"
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||" -e "s|-O.|-O2|"`
# set some CFLAGS we need
CFLAGS="$CFLAGS -g -fno-stack-protector"