diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2021-08-31 10:57:56 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-31 09:05:43 -0700 |
commit | 967fe6730c6b0ab9fa8f350adef7bffea0aeb67b (patch) | |
tree | 159bd2e3ec087d508cab9ddae20ea0bdadef5d47 /meta-webserver/recipes-httpd/nginx/nginx.inc | |
parent | 2fcda37554d44cfde97ed4552f8c25c74ed05b56 (diff) | |
download | meta-openembedded-967fe6730c6b0ab9fa8f350adef7bffea0aeb67b.tar.gz |
nginx: Fix off_t size passed in configure
For linux, nginx will always compile with '-D_FILE_OFFSET_BITS=64'. This
means that off_t will always be 8 bytes long, even on 32-bit targets.
This configuration change resolves some issues with nginx and handling
range headers.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-httpd/nginx/nginx.inc')
-rw-r--r-- | meta-webserver/recipes-httpd/nginx/nginx.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index ab37fa3146..7637002f23 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc | |||
@@ -65,7 +65,7 @@ do_configure () { | |||
65 | --with-ptr-size=${PTRSIZE} \ | 65 | --with-ptr-size=${PTRSIZE} \ |
66 | --with-sig-atomic-t=${PTRSIZE} \ | 66 | --with-sig-atomic-t=${PTRSIZE} \ |
67 | --with-size-t=${PTRSIZE} \ | 67 | --with-size-t=${PTRSIZE} \ |
68 | --with-off-t=${PTRSIZE} \ | 68 | --with-off-t=8 \ |
69 | --with-time-t=${PTRSIZE} \ | 69 | --with-time-t=${PTRSIZE} \ |
70 | --with-sys-nerr=132 \ | 70 | --with-sys-nerr=132 \ |
71 | --conf-path=${sysconfdir}/nginx/nginx.conf \ | 71 | --conf-path=${sysconfdir}/nginx/nginx.conf \ |