diff --git a/deb/openresty-debug/debian/rules b/deb/openresty-debug/debian/rules index e0ce0293b..d14dcea70 100755 --- a/deb/openresty-debug/debian/rules +++ b/deb/openresty-debug/debian/rules @@ -17,6 +17,7 @@ override_dh_auto_configure: --with-debug \ --with-cc-opt="-I/usr/local/openresty/zlib/include -I/usr/local/openresty/pcre/include -I/usr/local/openresty-debug/openssl/include -O0" \ --with-ld-opt="-L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty-debug/openssl/lib -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty-debug/openssl/lib" \ + --with-compat \ --with-pcre-jit \ --without-http_rds_json_module \ --without-http_rds_csv_module \ diff --git a/deb/openresty/debian/rules b/deb/openresty/debian/rules index 016249aa6..2f0c9afbe 100755 --- a/deb/openresty/debian/rules +++ b/deb/openresty/debian/rules @@ -15,6 +15,7 @@ override_dh_auto_configure: ./configure \ --with-cc-opt="-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/zlib/include -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include" \ --with-ld-opt="-L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib" \ + --with-compat \ --with-pcre-jit \ --without-http_rds_json_module \ --without-http_rds_csv_module \ diff --git a/rpm/SPECS/openresty-debug.spec b/rpm/SPECS/openresty-debug.spec index 0a71716f6..82a251218 100644 --- a/rpm/SPECS/openresty-debug.spec +++ b/rpm/SPECS/openresty-debug.spec @@ -82,6 +82,7 @@ a single box. --with-debug \ --with-cc-opt="-I%{zlib_prefix}/include -I%{pcre_prefix}/include -I%{openssl_prefix}/include -O0" \ --with-ld-opt="-L%{zlib_prefix}/lib -L%{pcre_prefix}/lib -L%{openssl_prefix}/lib -Wl,-rpath,%{zlib_prefix}/lib:%{pcre_prefix}/lib:%{openssl_prefix}/lib" \ + --with-compat \ --with-pcre-jit \ --without-http_rds_json_module \ --without-http_rds_csv_module \ diff --git a/rpm/SPECS/openresty.spec b/rpm/SPECS/openresty.spec index 73cba7117..f4118fc3c 100644 --- a/rpm/SPECS/openresty.spec +++ b/rpm/SPECS/openresty.spec @@ -187,6 +187,7 @@ This package provides the client side tool, opm, for OpenResty Pakcage Manager ( --with-cc='ccache gcc -fdiagnostics-color=always' \ --with-cc-opt="-DNGX_LUA_ABORT_AT_PANIC -I%{zlib_prefix}/include -I%{pcre_prefix}/include -I%{openssl_prefix}/include" \ --with-ld-opt="-L%{zlib_prefix}/lib -L%{pcre_prefix}/lib -L%{openssl_prefix}/lib -Wl,-rpath,%{zlib_prefix}/lib:%{pcre_prefix}/lib:%{openssl_prefix}/lib" \ + --with-compat \ --with-pcre-jit \ --without-http_rds_json_module \ --without-http_rds_csv_module \