Skip to content

Commit 4f3058d

Browse files
committed
Set page size to 16KB
1 parent 12d6a56 commit 4f3058d

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
@@ -46,7 +46,7 @@ DEV_FLAGS=$(COMMON_FLAGS) $(WARN_FLAGS)
4646

4747
CROSS_CONFIG=android.arm64
4848

49-
LDFLAGS += -static-libstdc++
49+
LDFLAGS += -static-libstdc++ -Wl,-z,max-page-size=16384
5050
DroidLibs := -lm -ldl -llog $(DECLIB) $(I128LIB)
5151
UDR_SUPPORT_LIBS :=
5252

builds/posix/make.android.arme

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

4747
CROSS_CONFIG=android.arme
4848

49-
LDFLAGS += -static-libstdc++
49+
LDFLAGS += -static-libstdc++ -Wl,-z,max-page-size=16384
5050
DroidLibs := -lm -ldl -llog $(DECLIB) $(I128LIB)
5151
UDR_SUPPORT_LIBS :=
5252

builds/posix/make.android.x86

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

4747
CROSS_CONFIG=android.x86
4848

49-
LDFLAGS += -static-libstdc++
49+
LDFLAGS += -static-libstdc++ -Wl,-z,max-page-size=16384
5050
DroidLibs := -lm -ldl -llog $(DECLIB) $(I128LIB)
5151
UDR_SUPPORT_LIBS :=
5252

builds/posix/make.android.x86_64

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

4747
CROSS_CONFIG=android.x86_64
4848

49-
LDFLAGS += -static-libstdc++
49+
LDFLAGS += -static-libstdc++ -Wl,-z,max-page-size=16384
5050
DroidLibs := -lm -ldl -llog $(DECLIB) $(I128LIB)
5151
UDR_SUPPORT_LIBS :=
5252

0 commit comments

Comments
 (0)