From 07009024663bc3e3679c11ba9c4d3762f488ba59 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Wed, 16 Jul 2025 20:32:26 +0200 Subject: [PATCH 1/2] remove left-over from commit 591b9f4 --- build.py | 1 - 1 file changed, 1 deletion(-) diff --git a/build.py b/build.py index be03ada..20e3bd6 100644 --- a/build.py +++ b/build.py @@ -2,7 +2,6 @@ import os import shutil -import platform from pathlib import Path From 20bd5e426a6c8d16dba85de90bcf9d3805ab9eda Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Wed, 16 Jul 2025 20:33:17 +0200 Subject: [PATCH 2/2] remove COMPILE_FLAGS altogether --- build.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/build.py b/build.py index 20e3bd6..2bedf3e 100644 --- a/build.py +++ b/build.py @@ -10,8 +10,6 @@ from setuptools import Extension from setuptools.command.build_ext import build_ext -COMPILE_ARGS = ["-O3"] - LINK_ARGS: list[str] = [] INCLUDE_DIRS: list[str] = [] LIBRARIES: list[str] = [] @@ -22,7 +20,6 @@ def build() -> None: Extension( "*", ["rencode/*.pyx"], - extra_compile_args=COMPILE_ARGS, extra_link_args=LINK_ARGS, include_dirs=INCLUDE_DIRS, libraries=LIBRARIES,