mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-21 07:52:21 -04:00
Closes: https://bugs.gentoo.org/887653 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
14 lines
459 B
Diff
14 lines
459 B
Diff
Don't overwrite user optimizations
|
|
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -18,7 +18,7 @@ MOD_NAMES = ["cymem.cymem"]
|
|
# http://stackoverflow.com/questions/724664/python-distutils-how-to-get-a-compiler-that-is-going-to-be-used
|
|
compile_options = {
|
|
"msvc": ["/Ox", "/EHsc"],
|
|
- "other": ["-O3", "-Wno-strict-prototypes", "-Wno-unused-function"],
|
|
+ "other": ["-Wno-strict-prototypes", "-Wno-unused-function"],
|
|
}
|
|
link_options = {"msvc": [], "other": []}
|
|
|