File: Disable-extra_compile_options.patch

package info (click to toggle)
python-intbitset 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,432 kB
  • sloc: python: 704; ansic: 438; makefile: 133
file content (24 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Maximiliano Curia <maxy@gnuservers.com.ar>
Date: Wed, 30 Aug 2017 19:26:52 +0200
Subject: Disable extra_compile_options

Closes: 873696
Thanks: Adrian Bunk for the report
---
 setup.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index c0efe63..4054f8c 100644
--- a/setup.py
+++ b/setup.py
@@ -48,7 +48,8 @@ setup(
     ext_modules=[
         Extension("intbitset",
                   ["intbitset/intbitset.c", "intbitset/intbitset_impl.c"],
-                  extra_compile_args=['-O3', '-march=core2', '-mtune=native']
+                  # Disable extra_compile options
+                  # extra_compile_args=['-O3', '-march=core2', '-mtune=native']
                   # For debug -> '-ftree-vectorizer-verbose=2'
                   )
     ],