From da66e3c908788cf0738978fc0628bb4fe57a0267 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 10 Oct 2025 16:42:27 +0500 Subject: [PATCH] build-all.py - remove `--host none` from wasm args As it's now obsolete and producing warnings `configure: WARNING: the "none" host is obsolete, use --disable-assembly`. --- nix/build-all.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/build-all.py b/nix/build-all.py index 6e38ef8294..7a91e87bc4 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1097,7 +1097,8 @@ if "cgal" in targets: gmp_args: "list[str]" = [] mpfr_args: "list[str]" = [] if "wasm" in flags: - gmp_args.extend(("--disable-assembly", "--host", "none", "--enable-cxx")) + # Disable assembly, otherwise `emcc -c conftest.s` will crash due to assembly mismatch. + gmp_args.extend(("--disable-assembly", "--enable-cxx")) mpfr_args.extend(("--host", "none")) OLD_CC = None