mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
29 lines
530 B
Diff
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(
|