From 9f3a2e92d385b2f0b0d8a40c2a6f1e5fb735a3e4 Mon Sep 17 00:00:00 2001 From: Amarnath Valluri Date: Fri, 6 Nov 2015 15:27:37 +0200 Subject: [PATCH] nginx: Add support for altering build configuration Passing EXTRA_OECONF to ./configure, this allows to alter build configure Signed-off-by: Amarnath Valluri Signed-off-by: Martin Jansa --- meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb b/meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb index a251523bc8..1c9bff7fbc 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb +++ b/meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb @@ -27,6 +27,8 @@ inherit update-rc.d useradd CFLAGS_append = " -fPIE -pie" CXXFLAGS_append = " -fPIE -pie" +EXTRA_OECONF = "" + do_configure () { if [ "${SITEINFO_BITS}" = "64" ]; then PTRSIZE=8 @@ -55,7 +57,8 @@ do_configure () { --pid-path=/run/nginx/nginx.pid \ --prefix=${prefix} \ --with-http_ssl_module \ - --with-http_gzip_static_module + --with-http_gzip_static_module \ + ${EXTRA_OECONF} } do_install () {