Skip to content

Commit fd6ee4e

Browse files
committed
Set page size to 16KB
1 parent 1eeca69 commit fd6ee4e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

builds/posix/make.android.arm64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ DEV_FLAGS=$(COMMON_FLAGS) $(WARN_FLAGS)
4949

5050
CROSS_CONFIG=android.arm64
5151

52-
LDFLAGS += -static-libstdc++
52+
LDFLAGS += -static-libstdc++ -Wl,-z,max-page-size=16384
5353
DroidLibs := -lm -ldl -llog $(DECLIB) $(I128LIB)
5454
UDR_SUPPORT_LIBS :=
5555

builds/posix/make.android.arme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ DEV_FLAGS=$(COMMON_FLAGS) $(WARN_FLAGS)
4949

5050
CROSS_CONFIG=android.arme
5151

52-
LDFLAGS += -static-libstdc++
52+
LDFLAGS += -static-libstdc++ -Wl,-z,max-page-size=16384
5353
DroidLibs := -lm -ldl -llog $(DECLIB) $(I128LIB)
5454
UDR_SUPPORT_LIBS :=
5555

builds/posix/make.android.x86

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ DEV_FLAGS=$(COMMON_FLAGS) $(WARN_FLAGS)
4949

5050
CROSS_CONFIG=android.x86
5151

52-
LDFLAGS += -static-libstdc++
52+
LDFLAGS += -static-libstdc++ -Wl,-z,max-page-size=16384
5353
DroidLibs := -lm -ldl -llog $(DECLIB) $(I128LIB)
5454
UDR_SUPPORT_LIBS :=
5555

builds/posix/make.android.x86_64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ DEV_FLAGS=$(COMMON_FLAGS) $(WARN_FLAGS)
4949

5050
CROSS_CONFIG=android.x86_64
5151

52-
LDFLAGS += -static-libstdc++
52+
LDFLAGS += -static-libstdc++ -Wl,-z,max-page-size=16384
5353
DroidLibs := -lm -ldl -llog $(DECLIB) $(I128LIB)
5454
UDR_SUPPORT_LIBS :=
5555

0 commit comments

Comments
 (0)