diff --git a/deb/openresty-asan/debian/rules b/deb/openresty-asan/debian/rules index c788ba36..c1bb454a 100755 --- a/deb/openresty-asan/debian/rules +++ b/deb/openresty-asan/debian/rules @@ -51,6 +51,7 @@ override_dh_auto_build: --with-http_gunzip_module \ --with-http_slice_module \ --with-threads \ + --with-file-aio \ --with-poll_module \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -DLUAJIT_USE_VALGRIND -O1 -fno-omit-frame-pointer' \ diff --git a/deb/openresty-debug/debian/rules b/deb/openresty-debug/debian/rules index 8444a3e3..47b5e9f2 100755 --- a/deb/openresty-debug/debian/rules +++ b/deb/openresty-debug/debian/rules @@ -45,6 +45,7 @@ override_dh_auto_configure: --with-threads \ --with-poll_module \ --with-compat \ + --with-file-aio \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -O0' \ -j$(NJBS) diff --git a/deb/openresty-valgrind/debian/rules b/deb/openresty-valgrind/debian/rules index 607f794e..8f45747e 100755 --- a/deb/openresty-valgrind/debian/rules +++ b/deb/openresty-valgrind/debian/rules @@ -42,6 +42,7 @@ override_dh_auto_configure: --with-http_mp4_module \ --with-http_gunzip_module \ --with-threads \ + --with-file-aio \ --with-poll_module \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -DLUAJIT_USE_VALGRIND -DLUAJIT_USE_SYSMALLOC -O0' \ --with-no-pool-patch \ diff --git a/deb/openresty/debian/rules b/deb/openresty/debian/rules index 08f86b6e..a2313e07 100755 --- a/deb/openresty/debian/rules +++ b/deb/openresty/debian/rules @@ -41,6 +41,7 @@ override_dh_auto_configure: --with-http_slice_module \ --with-http_gunzip_module \ --with-threads \ + --with-file-aio \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' \ -j$(NJBS) diff --git a/rpm/SPECS/openresty-asan.spec b/rpm/SPECS/openresty-asan.spec index 16672b5b..5139c827 100644 --- a/rpm/SPECS/openresty-asan.spec +++ b/rpm/SPECS/openresty-asan.spec @@ -127,6 +127,7 @@ export ASAN_OPTIONS=detect_leaks=0 --with-http_mp4_module \ --with-http_gunzip_module \ --with-threads \ + --with-file-aio \ --with-http_slice_module \ --with-poll_module \ --with-compat \ diff --git a/rpm/SPECS/openresty-debug.spec b/rpm/SPECS/openresty-debug.spec index 40f25b52..d355a5fe 100644 --- a/rpm/SPECS/openresty-debug.spec +++ b/rpm/SPECS/openresty-debug.spec @@ -119,6 +119,7 @@ a single box. --with-http_gunzip_module \ --with-http_slice_module \ --with-threads \ + --with-file-aio \ --with-poll_module \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -O0' \ diff --git a/rpm/SPECS/openresty-valgrind.spec b/rpm/SPECS/openresty-valgrind.spec index 887cf190..10303376 100644 --- a/rpm/SPECS/openresty-valgrind.spec +++ b/rpm/SPECS/openresty-valgrind.spec @@ -120,6 +120,7 @@ a single box. --with-http_mp4_module \ --with-http_gunzip_module \ --with-threads \ + --with-file-aio \ --with-poll_module \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT -DLUAJIT_USE_VALGRIND -DLUAJIT_USE_SYSMALLOC -O0' \ diff --git a/rpm/SPECS/openresty.spec b/rpm/SPECS/openresty.spec index 1a7c95e4..f3413d7f 100644 --- a/rpm/SPECS/openresty.spec +++ b/rpm/SPECS/openresty.spec @@ -223,6 +223,7 @@ This package provides the client side tool, opm, for OpenResty Pakcage Manager ( --with-http_gunzip_module \ --with-http_slice_module \ --with-threads \ + --with-file-aio \ --with-compat \ --with-luajit-xcflags='-DLUAJIT_NUMMODE=2 -DLUAJIT_ENABLE_LUA52COMPAT' \ -j`nproc`