aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2021-08-31 10:57:56 +0000
committerKhem Raj <raj.khem@gmail.com>2021-08-31 09:05:43 -0700
commit967fe6730c6b0ab9fa8f350adef7bffea0aeb67b (patch)
tree159bd2e3ec087d508cab9ddae20ea0bdadef5d47 /meta-webserver
parent2fcda37554d44cfde97ed4552f8c25c74ed05b56 (diff)
downloadmeta-openembedded-contrib-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')
-rw-r--r--meta-webserver/recipes-httpd/nginx/nginx.inc2
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 ab37fa3146c..7637002f232 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -65,7 +65,7 @@ do_configure () {
--with-ptr-size=${PTRSIZE} \
--with-sig-atomic-t=${PTRSIZE} \
--with-size-t=${PTRSIZE} \
- --with-off-t=${PTRSIZE} \
+ --with-off-t=8 \
--with-time-t=${PTRSIZE} \
--with-sys-nerr=132 \
--conf-path=${sysconfdir}/nginx/nginx.conf \