From 1270e561d0cf4066cbf6f8f5603e5349838bf5f6 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sat, 27 Nov 2010 03:02:39 +0100 Subject: [PATCH] eglibc: fix sed, respect our otimization Signed-off-by: Stephan Raue --- packages/toolchain/devel/eglibc/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/toolchain/devel/eglibc/build b/packages/toolchain/devel/eglibc/build index d262776684..522beb382d 100755 --- a/packages/toolchain/devel/eglibc/build +++ b/packages/toolchain/devel/eglibc/build @@ -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"