mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-25 09:32:33 +08:00
[client-app] Fix sqlite build for older versions of clang
Summary: See title Test Plan: Run locally on older version of clang Reviewers: juan, spang, evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D4329
This commit is contained in:
parent
7079b21b05
commit
7818f42d42
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ then
|
||||||
mkdir -p $SQLITE_DIR
|
mkdir -p $SQLITE_DIR
|
||||||
curl -s "https://www.sqlite.org/2017/sqlite-amalgamation-3170000.zip" > "$SQLITE_DIR/sqlite-amalgamation.zip"
|
curl -s "https://www.sqlite.org/2017/sqlite-amalgamation-3170000.zip" > "$SQLITE_DIR/sqlite-amalgamation.zip"
|
||||||
unzip -o -d $SQLITE_DIR "$SQLITE_DIR/sqlite-amalgamation.zip"
|
unzip -o -d $SQLITE_DIR "$SQLITE_DIR/sqlite-amalgamation.zip"
|
||||||
clang -DSQLITE_ENABLE_FTS5 "$SQLITE_SRC_DIR/sqlite3.c" "$SQLITE_SRC_DIR/shell.c" -o $SQLITE_BIN
|
clang -DSQLITE_DISABLE_INTRINSIC -DSQLITE_ENABLE_FTS5 "$SQLITE_SRC_DIR/sqlite3.c" "$SQLITE_SRC_DIR/shell.c" -o $SQLITE_BIN
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f $NYLAS_DIR/a-*.sqlite
|
rm -f $NYLAS_DIR/a-*.sqlite
|
||||||
|
|
Loading…
Reference in a new issue