summaryrefslogtreecommitdiff
path: root/net-im/endcord/files/endcord-1.4.0-flags.patch
blob: 54450b9f15b687a4d40239e23e33bac8abebd2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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(