[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:
Mark Hahnenberg 2017-04-03 16:33:02 -07:00
parent 7079b21b05
commit 7818f42d42

View file

@ -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