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: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Mon, 25 Dec 2023 10:49:12 +0900
Subject: Disable vendor specific optimization options
Forwarded: not-needed
Debian packaging wants debug symbols for dbgsym packages.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index c1f9ad4..457517e 100644
--- a/setup.py
+++ b/setup.py
@@ -68,7 +68,7 @@ class pyzstd_build_ext(build_ext):
self.compiler.compiler_so = [part for part in self.compiler.compiler_so if part != '-Wunreachable-code']
for extension in self.extensions:
- if self.compiler.compiler_type in ('unix', 'mingw32', 'cygwin'):
+ if self.compiler.compiler_type in ('mingw32', 'cygwin'):
# -g0:
# Level 0 produces no debug information at all. This reduces
# the size of GCC wheels. By default CPython won't print any
|