mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-29 12:19:56 +00:00
nix: enable 16 KB page sizes (#6357)
* nix: enable 16 KB page sizes * remove 16kb page from armv7a --------- Co-authored-by: Evgeny <evgeny@poberezkin.com>
This commit is contained in:
@@ -309,6 +309,7 @@
|
|||||||
aarch64-unknown-linux-android-ghc -shared -o libsupport.so \
|
aarch64-unknown-linux-android-ghc -shared -o libsupport.so \
|
||||||
-optl-Wl,-u,setLineBuffering \
|
-optl-Wl,-u,setLineBuffering \
|
||||||
-optl-Wl,-u,pipe_std_to_socket \
|
-optl-Wl,-u,pipe_std_to_socket \
|
||||||
|
-optl-Wl,-z,max-page-size=16384 \
|
||||||
dist/build/*.a
|
dist/build/*.a
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@@ -475,6 +476,7 @@
|
|||||||
"-threaded"
|
"-threaded"
|
||||||
# "-debug"
|
# "-debug"
|
||||||
"-optl-lffi"
|
"-optl-lffi"
|
||||||
|
"-optl-Wl,-z,max-page-size=16384"
|
||||||
]
|
]
|
||||||
# This is fairly idiotic. LLD will strip out foreign exported
|
# This is fairly idiotic. LLD will strip out foreign exported
|
||||||
# symbols (a GHC bug? Codegen bug?). So we need to pass `-u <sym>`
|
# symbols (a GHC bug? Codegen bug?). So we need to pass `-u <sym>`
|
||||||
|
|||||||
Reference in New Issue
Block a user