mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
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 <robimarko@gmail.com>
This commit is contained in:
@@ -34,18 +34,18 @@
|
|||||||
cd $ngx_addon_dir/.. \\
|
cd $ngx_addon_dir/.. \\
|
||||||
&& if [ -f build/Makefile ]; then \$(MAKE) clean; fi \\
|
&& if [ -f build/Makefile ]; then \$(MAKE) clean; fi \\
|
||||||
- && CFLAGS="\$(CFLAGS)" CC="\$(CC)" ./configure --no-openssl \\
|
- && 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) \\
|
+ && 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
|
&& \$(MAKE) libnjs
|
||||||
|
|
||||||
$ngx_addon_dir/../build/libqjs.a: $NGX_MAKEFILE
|
$ngx_addon_dir/../build/libqjs.a: $NGX_MAKEFILE
|
||||||
cd $ngx_addon_dir/.. \\
|
cd $ngx_addon_dir/.. \\
|
||||||
&& if [ -f build/Makefile ]; then \$(MAKE) clean; fi \\
|
&& if [ -f build/Makefile ]; then \$(MAKE) clean; fi \\
|
||||||
- && CFLAGS="\$(CFLAGS)" CC="\$(CC)" ./configure --no-openssl \\
|
- && 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) \\
|
+ && 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
|
&& \$(MAKE) libnjs libqjs
|
||||||
|
|
||||||
END
|
END
|
||||||
|
|||||||
Reference in New Issue
Block a user