mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
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:
@@ -1454,9 +1454,6 @@ if "IfcOpenShell-Python" in targets:
|
|||||||
if platform.system() == "Darwin":
|
if platform.system() == "Darwin":
|
||||||
ADDITIONAL_ARGS = "-Wl,-undefined,dynamic_lookup"
|
ADDITIONAL_ARGS = "-Wl,-undefined,dynamic_lookup"
|
||||||
|
|
||||||
if "wasm" in flags:
|
|
||||||
ADDITIONAL_ARGS = "-Wl,-undefined,suppress"
|
|
||||||
|
|
||||||
# NOTE: We don't use `CXXFLAGS` for wrappers, so wrapper is compiled with different flags
|
# 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)
|
# (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.
|
# So cache doesn't match and running build-all.py builds most of ifcopenshell libraries twice.
|
||||||
|
|||||||
Reference in New Issue
Block a user