mirror of
https://github.com/bol-van/zapret.git
synced 2026-03-08 06:15:26 +00:00
github: use 16K page size for android arm64 build
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user