Skip to content

Commit

Permalink
Revert "nginx: Fix compilation with LTO"
Browse files Browse the repository at this point in the history
This reverts commit 3b13b08.
  • Loading branch information
ptpt52 committed Dec 25, 2024
1 parent db760d6 commit c137a53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/nginx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PKG_CPE_ID:=cpe:/a:nginx:nginx
PKG_FIXUP:=autoreconf
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_BUILD_FLAGS:=gc-sections lto
PKG_BUILD_FLAGS:=gc-sections

# 3rd-party modules
PKG_MOD_EXTRA := \
Expand Down
2 changes: 1 addition & 1 deletion net/nginx/patches/nginx/102-sizeof_test_fix.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$NGX_INCLUDE_INTTYPES_H
$NGX_INCLUDE_AUTO_CONFIG_H

+volatile char object_code_block[] = {
+char object_code_block[] = {
+ '\n', 'e', '4', 'V', 'A',
+ '0', 'x', ('0' + sizeof($ngx_type)),
+ 'Y', '3', 'p', 'M', '\n'
Expand Down

0 comments on commit c137a53

Please sign in to comment.