-
-
Notifications
You must be signed in to change notification settings - Fork 204
Bump SQLite to 3.49.1.0
#667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
445c616
a968b6e
d1e3509
1e59526
b3cabc9
1b9dbcb
b558500
db962de
a1828ef
2e17531
66fbfd5
62a14b2
651e99b
91184f6
2820ace
4d4b5e5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,15 +14,22 @@ pushd sqlite-autoconf-${SQLITE_VERSION} | |
|
||
|
||
CONFIGURE_FLAGS="--build=${BUILD_TRIPLE} --host=${TARGET_TRIPLE}" | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --prefix /tools/deps --disable-shared" | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} --prefix=/tools/deps --disable-shared" | ||
|
||
if [ "${TARGET_TRIPLE}" = "aarch64-apple-ios" ]; then | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} ac_cv_search_system=no" | ||
elif [ "${TARGET_TRIPLE}" = "x86_64-apple-ios" ]; then | ||
CONFIGURE_FLAGS="${CONFIGURE_FLAGS} ac_cv_search_system=no" | ||
fi | ||
|
||
CFLAGS="${EXTRA_TARGET_CFLAGS} -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS3_TOKENIZER -fPIC" CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" ./configure ${CONFIGURE_FLAGS} | ||
# The SQLite autosetup looks for the C++ compiler if the variable is set and will fail if it's not | ||
# found, even if it's not needed. We don't actually have a C++ compiler in some builds, so ensure | ||
# it's not looked for. | ||
unset CXX | ||
|
||
make -j ${NUM_CPUS} | ||
make -j ${NUM_CPUS} install DESTDIR=${ROOT}/out | ||
CC_FOR_BUILD="${HOST_CC}" CFLAGS="${EXTRA_TARGET_CFLAGS} -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS3_TOKENIZER -fPIC" CPPFLAGS="${EXTRA_TARGET_CFLAGS} -fPIC" LDFLAGS="${EXTRA_TARGET_LDFLAGS}" ./configure ${CONFIGURE_FLAGS} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The autosetup script use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not an actual concern but |
||
|
||
make -j ${NUM_CPUS} libsqlite3.a | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
make install-lib DESTDIR=${ROOT}/out | ||
make install-headers DESTDIR=${ROOT}/out | ||
make install-pc DESTDIR=${ROOT}/out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a syntax difference between autosetup and autoconf