lib/phusion_passenger/standalone/runtime_installer.rb in passenger-4.0.14 vs lib/phusion_passenger/standalone/runtime_installer.rb in passenger-4.0.16
- old
+ new
@@ -570,15 +570,10 @@
# care at all what the Nginx configured prefix is because
# we pass it its resource locations during runtime, so
# work around the problem by configure Nginx with prefix
# /tmp.
command << "#{shell} ./configure --prefix=/tmp " <<
- "--with-cc-opt='-Wno-error' " <<
- "--without-http_fastcgi_module " <<
- "--without-http_scgi_module " <<
- "--without-http_uwsgi_module " <<
- "--with-http_gzip_static_module " <<
- "--with-http_stub_status_module " <<
+ "#{STANDALONE_NGINX_CONFIGURE_OPTIONS} " <<
"'--add-module=#{PhusionPassenger.nginx_module_source_dir}'"
run_command_with_throbber(command, "Preparing Nginx...") do |status_text|
yield(0, 1, status_text)
end