Browse Source

github: use 16K page size for android arm64 build

pull/2130/head
bol-van 3 months ago
parent
commit
ef637c482c
  1. 5
      .github/workflows/build.yml
  2. 2
      docs/changes.txt

5
.github/workflows/build.yml

@ -340,6 +340,9 @@ jobs:
armeabi-v7a)
CPU="-mthumb"
;;
arm64-v8a)
PAGESIZE="-Wl,-z,max-page-size=16384"
;;
esac
# netfilter libs
@ -360,7 +363,7 @@ jobs:
# zapret
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)
# strip unwanted ELF sections to prevent warnings on old Android versions

2
docs/changes.txt

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

Loading…
Cancel
Save