nginx: add patch to fix compilation error on mips targets
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Apr 2024 15:01:10 +0000 (17:01 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 6 Apr 2024 15:02:58 +0000 (17:02 +0200)
commit88fdab5d77bf28ddf161171c370902239f771f4e
tree48ec02ac1dce05d9561cc4394f8c601dd52d3b41
parent9d809674e3c243327015c781ea5fe3e165c399f1
nginx: add patch to fix compilation error on mips targets

Add patch to fix compilation error on mips targets. This was triggered
after enabling LTO. It was discovered that -fPIC is enabled on building
dynamic modules in CFLAGS but was missing on linking them. This patch
adds the missing -fPIC also on linking.

Fixes: 3b13b08ad98d ("nginx: Fix compilation with LTO")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
net/nginx/Makefile
net/nginx/patches/nginx/202-fix-fPIC-on-link.patch [new file with mode: 0644]