nginx: Fix compilation with LTO
authorAndreas Gnau <andreas.gnau@iopsys.eu>
Wed, 6 Mar 2024 15:48:45 +0000 (16:48 +0100)
committerRosen Penev <rosenp@gmail.com>
Wed, 20 Mar 2024 18:36:08 +0000 (11:36 -0700)
commit3b13b08ad98dd15999e83c98f80674c9965d7a10
tree66cd2620fc2f73c1afdc09ecdffbcf127172bb91
parentd701cae191a4025292b15c6f908b823ad3b88985
nginx: Fix compilation with LTO

When CONFIG_USE_LTO=y, the int-size detection script will fail because a
variable gets optimised out. Mark it as volatile to fix the issue.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
net/nginx/Makefile
net/nginx/patches/nginx/102-sizeof_test_fix.patch