From e309e67ce448b941d9e976e653f075aa6c2d359f Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 6 Jun 2012 10:26:26 +0200 Subject: [PATCH] sqlite: build with -fPIC -DPIC support Signed-off-by: Stephan Raue --- packages/databases/sqlite/build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/databases/sqlite/build b/packages/databases/sqlite/build index a8dfefd446..f117b99c4e 100755 --- a/packages/databases/sqlite/build +++ b/packages/databases/sqlite/build @@ -26,6 +26,8 @@ CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-O3|g"` CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||g"` + CFLAGS="$CFLAGS -fPIC -DPIC" + # 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 # ANALYZE command is enhanced to collect histogram data from each index and store