File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 25
25
DEP_CFLAGS=" -I${BUILD_DIR_EXTERNAL} /${ANDROID_ABI} /include"
26
26
DEP_LD_FLAGS=" -L${BUILD_DIR_EXTERNAL} /${ANDROID_ABI} /lib $FFMPEG_EXTRA_LD_FLAGS "
27
27
28
+ # Android 15 with 16 kb page size support
29
+ # https://developer.android.com/guide/practices/page-sizes#compile-r27
30
+ EXTRA_LDFLAGS=" -Wl,-z,max-page-size=16384 $DEP_LD_FLAGS "
31
+
28
32
./configure \
29
33
--prefix=${BUILD_DIR_FFMPEG} /${ANDROID_ABI} \
30
34
--enable-cross-compile \
@@ -40,7 +44,7 @@ DEP_LD_FLAGS="-L${BUILD_DIR_EXTERNAL}/${ANDROID_ABI}/lib $FFMPEG_EXTRA_LD_FLAGS"
40
44
--ranlib=${FAM_RANLIB} \
41
45
--strip=${FAM_STRIP} \
42
46
--extra-cflags=" -O3 -fPIC $DEP_CFLAGS " \
43
- --extra-ldflags=" $DEP_LD_FLAGS " \
47
+ --extra-ldflags=" $EXTRA_LDFLAGS " \
44
48
--enable-shared \
45
49
--disable-static \
46
50
--disable-vulkan \
You can’t perform that action at this time.
0 commit comments