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.
This commit is contained in:
Andrej730
2025-10-30 18:53:48 +05:00
parent 19ac0b6c38
commit 7f144b7b95
-3
View File
@@ -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.