[build] use vendored SQLite for LTO benefits + custom compile flags

This commit is contained in:
Konstantin Käfer
2018-08-30 21:38:50 +03:00
parent 0e95e8f6b2
commit 679d66f36d
8 changed files with 61 additions and 5 deletions

14
scripts/vendor/sqlite.sh vendored Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
NAME=sqlite
VERSION=3.24.0
ROOT=sqlite-amalgamation-3240000
download "https://www.sqlite.org/2018/$ROOT.zip"
init
extract_zip "$ROOT/sqlite3.*"
mkdir -p include src
mv sqlite3.h include
mv sqlite3.c src
file_list include src -name "*.h" -o -name "*.c"