Skip to content

Commit

Permalink
Android: Fix #616: Support for devices with 16kB page size
Browse files Browse the repository at this point in the history
  • Loading branch information
hvge committed Sep 10, 2024
1 parent 9d1d9ec commit 0e80991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ LOCAL_CPP_FEATURES += exceptions
LOCAL_STATIC_LIBRARIES := PowerAuth2
LOCAL_LDLIBS := -llog
ifeq ($(NDK_DEBUG),1)
LOCAL_LDFLAGS := -Wl,--hash-style=both,--exclude-libs,ALL
LOCAL_LDFLAGS := -Wl,-z,max-page-size=16384,--hash-style=both,--exclude-libs,ALL
else
LOCAL_LDFLAGS := -Wl,--hash-style=both,-s,--exclude-libs,ALL
LOCAL_LDFLAGS := -Wl,-z,max-page-size=16384,--hash-style=both,-s,--exclude-libs,ALL
endif

LOCAL_C_INCLUDES := \
Expand Down

0 comments on commit 0e80991

Please sign in to comment.