Skip to content

Commit acf3dbe

Browse files
committed
[CMake] Use new 16 KB page alignment on 64-bit Android (#71)
1 parent 704f7af commit acf3dbe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

icuSources/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ if(LINKER_SUPPORTS_BUILD_ID)
3535
target_link_options(_FoundationICU PRIVATE "LINKER:--build-id=sha1")
3636
endif()
3737

38+
if(ANDROID)
39+
target_link_options(_FoundationICU PRIVATE "LINKER:-z,max-page-size=16384")
40+
endif()
41+
3842
# Copy Headers to known directory for direct client (XCTest) test builds
3943
file(COPY
4044
include/

0 commit comments

Comments
 (0)