diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2020-12-11 14:01:48 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2020-12-11 14:01:48 +0000 |
commit | 54bf58abce424bfe2696ebd1ca48410bec44fa46 (patch) | |
tree | 9ab99c7a3cf1b7fbafb9a179c1d3081cff176c39 | |
parent | 0f384c66448fe3f2e37fb66862a244f6f55d7f36 (diff) |
Notes
-rw-r--r-- | databases/sqlite3/files/patch-configure | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/sqlite3/files/patch-configure b/databases/sqlite3/files/patch-configure new file mode 100644 index 000000000000..1a1adae0f0dd --- /dev/null +++ b/databases/sqlite3/files/patch-configure @@ -0,0 +1,13 @@ +--- configure.orig 2020-12-11 13:58:21 UTC ++++ configure +@@ -13335,7 +13335,9 @@ else + enable_threadsafe=yes + fi + +-if test x"$enable_threadsafe" != "xno"; then ++if test x"$enable_threadsafe" == "xno"; then ++ BUILD_CFLAGS="$BUILD_CFLAGS -DSQLITE_THREADSAFE=0" ++else + BUILD_CFLAGS="$BUILD_CFLAGS -D_REENTRANT=1 -DSQLITE_THREADSAFE=1" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 + $as_echo_n "checking for library containing pthread_create... " >&6; } |