eglibc: fix sed, respect our otimization

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-27 03:02:39 +01:00
parent 7dc9f050a9
commit 1270e561d0

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?||"`
CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"` # -e "s|-O.|-O3|"
# set some CFLAGS we need
CFLAGS="$CFLAGS -g -fno-stack-protector"