Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libselinux: set CFLAGS for pip installation
Explicitly set CFLAGS for the pip install command, similar to calling setup.py, to ignore known compiler warnings treated as errors, e.g.: selinuxswig_python_wrap.c:3593:19: error: 'sidget' is deprecated [-Werror,-Wdeprecated-declarations] result = (int)sidget(arg1); ^ selinuxswig_python_wrap.c:15024:1: error: no previous prototype for function 'PyInit__selinux' [-Werror,-Wmissing-prototypes] SWIG_init(void) { ^ Signed-off-by: Christian Göttsche <[email protected]> Acked-by: Petr Lautrbach <[email protected]>
- Loading branch information