Skip to content

Commit 72e609e

Browse files
committed
Revert "ext: compile sqlite with WAL_SYNCHRONOUS=1 and --enable-fts5"
This reverts commit 2a161ad.
1 parent 2a161ad commit 72e609e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ext/sqlite3/extconf.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,13 @@ def configure_system_libraries
4949

5050
def configure_packaged_libraries
5151
minimal_recipe.tap do |recipe|
52-
recipe.configure_options += [
53-
"--enable-shared=no",
54-
"--enable-static=yes",
55-
"--enable-fts5",
56-
]
52+
recipe.configure_options += ["--enable-shared=no", "--enable-static=yes"]
5753
ENV.to_h.tap do |env|
5854
user_cflags = with_config("sqlite-cflags")
5955
more_cflags = [
6056
"-fPIC", # needed for linking the static library into a shared library
6157
"-O2", # see https://github.com/sparklemotion/sqlite3-ruby/issues/335 for some benchmarks
6258
"-fvisibility=hidden", # see https://github.com/rake-compiler/rake-compiler-dock/issues/87
63-
"-DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1",
6459
]
6560
env["CFLAGS"] = [user_cflags, env["CFLAGS"], more_cflags].flatten.join(" ")
6661
recipe.configure_options += env.select { |k,v| ENV_ALLOWLIST.include?(k) }

0 commit comments

Comments
 (0)