[arch-projects] [pyalpm] Workaround https://bugs.python.org/issue33012

Chih-Hsuan Yen yan12125 at gmail.com
Mon May 28 07:25:12 UTC 2018


This fixes building with GCC 8
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 887b7a1..ba3ae2a 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ os.putenv('LC_CTYPE', 'en_US.UTF-8')
 pyalpm_version = '0.8'
 
 cflags = ['-Wall', '-Wextra', '-Werror',
-    '-Wno-unused-parameter',
+    '-Wno-unused-parameter', '-Wno-cast-function-type',
     '-std=c99', '-D_FILE_OFFSET_BITS=64']
 
 alpm = Extension('pyalpm',
-- 
2.17.0


More information about the arch-projects mailing list