make --xip and .wamr_mmap configurable from build menu

This commit is contained in:
2026-05-29 00:15:59 +02:00
parent 05a4aa18e4
commit c57ae5fced
10 changed files with 194 additions and 109 deletions

View File

@ -223,7 +223,8 @@ sub inject {
# Catch invalid instruction pointers
"-Wf,--catch-outerspace",
# Messes with AOT compilation target if mmap memory is part of .text
# Messes with Wasm compilation targets if mmap memory is part of .text
# (because the linear memory is allocated using os_mmap)
"-Wf,--catch-write-textsegment",
"-Wf,--timeout=500000",