From fed83b886bd9ea59eaf195fcead8327a02eb326e Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 28 May 2012 22:14:39 +0200 Subject: [PATCH] sqlite: strip out all problematic optimizations Signed-off-by: Stephan Raue --- packages/databases/sqlite/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/databases/sqlite/build b/packages/databases/sqlite/build index 6f7ca10c13..a8dfefd446 100755 --- a/packages/databases/sqlite/build +++ b/packages/databases/sqlite/build @@ -23,8 +23,8 @@ . config/options $1 # sqlite fails to compile with fast-math link time optimization. - CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O3|"` - CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"` + CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O3|g"` + CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||g"` # This option adds additional logic to the ANALYZE command and to the query planner # that can help SQLite to chose a better query plan under certain situations. The