github: use 16K page size for android arm64 build

This commit is contained in:
bol-van
2026-03-05 19:37:27 +03:00
parent acccfc75e9
commit ef637c482c
2 changed files with 6 additions and 1 deletions

View File

@@ -340,6 +340,9 @@ jobs:
armeabi-v7a) armeabi-v7a)
CPU="-mthumb" CPU="-mthumb"
;; ;;
arm64-v8a)
PAGESIZE="-Wl,-z,max-page-size=16384"
;;
esac esac
# netfilter libs # netfilter libs
@@ -360,7 +363,7 @@ jobs:
# zapret # zapret
CFLAGS="$CPU -DZAPRET_GH_VER=${{ github.ref_name }} -DZAPRET_GH_HASH=${{ github.sha }} -I$DEPS_DIR/include" \ CFLAGS="$CPU -DZAPRET_GH_VER=${{ github.ref_name }} -DZAPRET_GH_HASH=${{ github.sha }} -I$DEPS_DIR/include" \
LDFLAGS="-L$DEPS_DIR/lib" \ LDFLAGS="-L$DEPS_DIR/lib $PAGESIZE" \
make -C zapret android -j$(nproc) make -C zapret android -j$(nproc)
# strip unwanted ELF sections to prevent warnings on old Android versions # strip unwanted ELF sections to prevent warnings on old Android versions

View File

@@ -609,3 +609,5 @@ install_easy: fix writing of ask_list variables
73.12 73.12
* github: reduce binaries size * github: reduce binaries size
* github: use 16K page size for android arm64 build
* nfqws: join fragments in quic CRYPTO reconstruction. allow intersections.