Files
guru/net-im/endcord/files/endcord-1.4.0-flags.patch
dsaf 1a850b2f46 net-im/endcord: add 'media' use flag
* Fix patch

Signed-off-by: dsaf <ghostyn678+git@gmail.com>
2026-03-18 06:52:29 -03:00

29 lines
530 B
Diff

strips forced compilation flags
--- a/setup.py
+++ b/setup.py
@@ -4,21 +4,9 @@
from Cython.Build import cythonize
from setuptools import Extension, setup
-extra_compile_args = [
- "-flto",
- "-O3",
- "-ffast-math",
- "-fomit-frame-pointer",
- "-funroll-loops",
-]
-extra_link_args = [
- "-flto",
- "-O3",
- "-s",
-]
+extra_compile_args = []
+extra_link_args = []
-if shutil.which("lld") and os.environ.get("CC") == "clang":
- extra_link_args.append("-fuse-ld=lld")
extensions = [
Extension(