diff options
| -rw-r--r-- | meta-webserver/recipes-httpd/nginx/nginx_1.9.5.bb | 5 |
1 files changed, 4 insertions, 1 deletions
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 | |||
| 27 | CFLAGS_append = " -fPIE -pie" | 27 | CFLAGS_append = " -fPIE -pie" |
| 28 | CXXFLAGS_append = " -fPIE -pie" | 28 | CXXFLAGS_append = " -fPIE -pie" |
| 29 | 29 | ||
| 30 | EXTRA_OECONF = "" | ||
| 31 | |||
| 30 | do_configure () { | 32 | do_configure () { |
| 31 | if [ "${SITEINFO_BITS}" = "64" ]; then | 33 | if [ "${SITEINFO_BITS}" = "64" ]; then |
| 32 | PTRSIZE=8 | 34 | PTRSIZE=8 |
| @@ -55,7 +57,8 @@ do_configure () { | |||
| 55 | --pid-path=/run/nginx/nginx.pid \ | 57 | --pid-path=/run/nginx/nginx.pid \ |
| 56 | --prefix=${prefix} \ | 58 | --prefix=${prefix} \ |
| 57 | --with-http_ssl_module \ | 59 | --with-http_ssl_module \ |
| 58 | --with-http_gzip_static_module | 60 | --with-http_gzip_static_module \ |
| 61 | ${EXTRA_OECONF} | ||
| 59 | } | 62 | } |
| 60 | 63 | ||
| 61 | do_install () { | 64 | do_install () { |
