Verified Commit 8985cce6 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Update CFLAGS for clang

Remove no-cast-function-type and add missing-field-intializers as
Python's C functions requires a {NULL} value in the member definition.

Closes: #19
parent c35beb36
......@@ -11,7 +11,8 @@ pyalpm_version = '0.10.5'
cflags = ['-Wall', '-Wextra', '-Werror',
'-Wno-unused-parameter', '-Wno-incompatible-pointer-types',
'-Wno-cast-function-type', '-std=c99', '-D_FILE_OFFSET_BITS=64']
'-std=c99', '-D_FILE_OFFSET_BITS=64']
alpm = Extension('pyalpm',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment