From: Robert Marko Date: Thu, 27 Feb 2025 11:35:12 +0000 (+0100) Subject: nginx-mod-njs: fix endianess patch X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7fdb92b59ac356f9a8c99ea49147ce0e66799a4b;p=feed%2Fpackages.git nginx-mod-njs: fix endianess patch Currently, the 104-endianness_fix.patch does not apply, so lets manually refresh it to apply and thus fix buildbot nginx builds. Signed-off-by: Robert Marko --- diff --git a/net/nginx/patches/nginx-mod-njs/104-endianness_fix.patch b/net/nginx/patches/nginx-mod-njs/104-endianness_fix.patch index ddd309f015..382462ba82 100644 --- a/net/nginx/patches/nginx-mod-njs/104-endianness_fix.patch +++ b/net/nginx/patches/nginx-mod-njs/104-endianness_fix.patch @@ -34,18 +34,18 @@ cd $ngx_addon_dir/.. \\ && if [ -f build/Makefile ]; then \$(MAKE) clean; fi \\ - && CFLAGS="\$(CFLAGS)" CC="\$(CC)" ./configure --no-openssl \\ -- --no-libxml2 --no-zlib --no-pcre --no-quickjs \\ +- --no-libxml2 --no-zlib --no-pcre --no-quickjs --ld-opt="$NGX_LD_OPT" \\ + && CFLAGS="\$(CFLAGS)" CC="\$(CC)" CONFIG_BIG_ENDIAN=\$(CONFIG_BIG_ENDIAN) \\ -+ ./configure --no-openssl --no-libxml2 --no-zlib --no-pcre --no-quickjs \\ ++ ./configure --no-openssl --no-libxml2 --no-zlib --no-pcre --no-quickjs --ld-opt="$NGX_LD_OPT" \\ && \$(MAKE) libnjs $ngx_addon_dir/../build/libqjs.a: $NGX_MAKEFILE cd $ngx_addon_dir/.. \\ && if [ -f build/Makefile ]; then \$(MAKE) clean; fi \\ - && CFLAGS="\$(CFLAGS)" CC="\$(CC)" ./configure --no-openssl \\ -- --no-libxml2 --no-zlib --no-pcre \\ +- --no-libxml2 --no-zlib --no-pcre --ld-opt="$NGX_LD_OPT" \\ + && CFLAGS="\$(CFLAGS)" CC="\$(CC)" CONFIG_BIG_ENDIAN=\$(CONFIG_BIG_ENDIAN) \\ -+ ./configure --no-openssl --no-libxml2 --no-zlib --no-pcre \\ ++ ./configure --no-openssl --no-libxml2 --no-zlib --no-pcre --ld-opt="$NGX_LD_OPT" \\ && \$(MAKE) libnjs libqjs END