From 4c3569f108d8e23a523d976b675b815c9026f286 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 16 Dec 2010 21:51:05 +0100 Subject: [PATCH] eglibc: force building with -O2, thanks to TheUni 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 522beb382d..9225ac3fec 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.|-O3|" + CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||" -e "s|-O.|-O2|"` # set some CFLAGS we need CFLAGS="$CFLAGS -g -fno-stack-protector"