Fix wasm3 alignment errors and silence some warnings #135

Merged
MartinFouilleul merged 5 commits from fix_wasm3_align_and_warnings into main 2023-09-21 06:52:03 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 94ce88e272 - Show all commits

View File

@ -290,7 +290,7 @@ def build_wasm3_lib_mac(release):
"-o", f"build/obj/{name}",
f,
], check=True)
subprocess.run(["ar", "-rcs", "build/lib/libwasm3.a", *glob.glob("build/obj/*.o")], check=True)
subprocess.run(["libtool", "-static", "-o", "build/lib/libwasm3.a", "-no_warning_for_no_symbols", *glob.glob("build/obj/*.o")], check=True)
subprocess.run(["rm", "-rf", "build/obj"], check=True)