From 7f144b7b956b91a1198f3aa369295e2315ea469f Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Thu, 30 Oct 2025 18:53:48 +0500 Subject: [PATCH] build-all.py - remove unused wasm flags `-Wl,-undefined,suppress` have no meaning in emscripten and they are just ignored. And emscripten is ignoring undefined symbols by default without any flags. --- nix/build-all.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nix/build-all.py b/nix/build-all.py index 4a8f2729fa..9fa1f74910 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1454,9 +1454,6 @@ if "IfcOpenShell-Python" in targets: if platform.system() == "Darwin": ADDITIONAL_ARGS = "-Wl,-flat_namespace,-undefined,suppress" - if "wasm" in flags: - ADDITIONAL_ARGS = "-Wl,-undefined,suppress" - # NOTE: We don't use `CXXFLAGS` for wrappers, so wrapper is compiled with different flags # (e.g. ` -fdata-sections` is missing, which is set by default for executables) # So cache doesn't match and running build-all.py builds most of ifcopenshell libraries twice.