Skip to content

Commit abcb304

Browse files
authored
Merge branch 'main' into pre-commit-ci-update-config
2 parents 9fcfab9 + 8628e84 commit abcb304

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration/test_manylinux.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,10 @@ def anylinux(
454454
for key in os.environ:
455455
if key.startswith("COV_CORE_"):
456456
env[key] = os.environ[key]
457+
# cython 3.1.0+ requires a C99 compiler,
458+
# where manylinux_2_5 uses gcc 4.8 which is not C99 compliant by default.
459+
if policy == "manylinux_2_5":
460+
env["CFLAGS"] = "-std=c99"
457461

458462
with docker_container_ctx(manylinux_img, io_folder, env) as container:
459463
platform_tag = ".".join(

0 commit comments

Comments
 (0)