We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13d6738 commit 4da779bCopy full SHA for 4da779b
mypyc/test/test_external.py
@@ -20,7 +20,9 @@ def test_c_unit_test(self) -> None:
20
cppflags: list[str] = []
21
env = os.environ.copy()
22
if sys.platform == "darwin":
23
- cppflags += ["-mmacosx-version-min=10.10", "-stdlib=libc++"]
+ cppflags += ["-O0", "-mmacosx-version-min=10.10", "-stdlib=libc++"]
24
+ elif sys.platform == "linux":
25
+ cppflags += ["-O0"]
26
env["CPPFLAGS"] = " ".join(cppflags)
27
# Build Python wrapper for C unit tests.
28
0 commit comments