From: Jan Palus Date: Fri, 7 Jan 2022 16:23:45 +0000 (+0100) Subject: enable file aio X-Git-Tag: auto/th/nginx-1.21.5-1 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fnginx.git;a=commitdiff_plain;h=88c57830d8da73c5451818c7b3933d85135663f5 enable file aio --- diff --git a/nginx.spec b/nginx.spec index f5c9dad..6a44bd6 100644 --- a/nginx.spec +++ b/nginx.spec @@ -6,6 +6,7 @@ # Conditional build for nginx: # Features %bcond_with debug # enable debug logging: http://nginx.org/en/docs/debugging_log.html +%bcond_without file_aio # file AIO support %bcond_without threads # thread pool support # Modules %bcond_without addition # http addition module @@ -372,6 +373,7 @@ cp -f configure auto/ %{?with_http2:--with-http_v2_module} \ %{?with_modsecurity:--add-module=modsecurity-%{modsecurity_version}/nginx/modsecurity} \ --with-http_secure_link_module \ + %{?with_file_aio:--with-file-aio} \ %{nil} %{__make}