Skip to content

Commit 1429e38

Browse files
committed
archs: add generic ldflags for 16kb alignment
1 parent 0f855c1 commit 1429e38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pythonforandroid/archs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Arch:
2929
'-I{python_includes}',
3030
]
3131

32-
common_ldflags = ['-L{ctx_libs_dir}']
32+
common_ldflags = ['-L{ctx_libs_dir}', '-Wl,-z,max-page-size=16384']
3333

3434
common_ldlibs = ['-lm']
3535

0 commit comments

Comments
 (0)