buildroot/package/nginx
Nevo Hed ae40953bc4 package/nginx: override endianness
Though several cross-compilation patches exist in buildroot's nginx
package dir they do not seem to address endianness.

The test program generated by the configure script compiles but fails
to run (as it is built for another architecture) but the script does
not distinguish between the failure to run the program and an
indication of certain endianness.  As such the fallback of big-endian
is used.  This setting then causes http2 headers (anything not in the
static dictionary) to come out as undecipherable trash on 64bit
targets (see ngx_http_v2_huff_encode_buf()).

This commit includes a patch to the configure script to allow a
`--force-endianness=big|little` flag as well as setting that flag in
buildroot's package makefile.

Signed-off-by: Nevo Hed <nhed+buildroot@starry.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit e205b5ec18)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-09-10 11:51:46 +02:00
..
0001-auto-type-sizeof-rework-autotest-to-be-cross-compila.patch
0002-auto-feature-add-mechanism-allowing-to-force-feature.patch
0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch
0004-auto-lib-libxslt-conf-use-pkg-config.patch
0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch
0006-auto-lib-openssl-conf-use-pkg-config.patch
0007-auto-lib-libgd-conf-use-pkg-config.patch
0008-src-os-unix-ngx_linux_config.h-only-include-dlfcn.h-.patch
0009-auto-os-linux-fix-build-with-libxcrypt.patch
0010-Allow-forcing-of-endianness-for-cross-compilation.patch package/nginx: override endianness 2021-09-10 11:51:46 +02:00
0010-Resolver-fixed-off-by-one-write-in-ngx_resolver_copy.patch
Config.in
nginx.hash
nginx.logrotate
nginx.mk package/nginx: override endianness 2021-09-10 11:51:46 +02:00
nginx.service
S50nginx