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 2525DEP_CFLAGS=" -I${BUILD_DIR_EXTERNAL} /${ANDROID_ABI} /include"
2626DEP_LD_FLAGS=" -L${BUILD_DIR_EXTERNAL} /${ANDROID_ABI} /lib $FFMPEG_EXTRA_LD_FLAGS "
2727
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+
2832./configure \
2933 --prefix=${BUILD_DIR_FFMPEG} /${ANDROID_ABI} \
3034 --enable-cross-compile \
@@ -40,7 +44,7 @@ DEP_LD_FLAGS="-L${BUILD_DIR_EXTERNAL}/${ANDROID_ABI}/lib $FFMPEG_EXTRA_LD_FLAGS"
4044 --ranlib=${FAM_RANLIB} \
4145 --strip=${FAM_STRIP} \
4246 --extra-cflags=" -O3 -fPIC $DEP_CFLAGS " \
43- --extra-ldflags=" $DEP_LD_FLAGS " \
47+ --extra-ldflags=" $EXTRA_LDFLAGS " \
4448 --enable-shared \
4549 --disable-static \
4650 --disable-vulkan \
You can’t perform that action at this time.
0 commit comments