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