Skip to content

Commit 6b8d939

Browse files
committed
Try another way
1 parent 111e8a1 commit 6b8d939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib-rt/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def run(self) -> None:
8484
cflags += ["-O3"]
8585
if X86_64:
8686
cflags.append("-msse4.2") # Enable SIMD (see also mypyc/build.py)
87-
if platform.system() == 'Emscripten':
87+
if "PYODIDE_PACKAGE_ABI" in os.environ:
8888
cflags.append("-msimd128")
8989
elif compiler.compiler_type == "msvc":
9090
cflags += ["/O2"]

0 commit comments

Comments
 (0)