This is an automated email from the git hooks/post-receive script.
nsoffer pushed a commit to branch master
in repository sanlock.
commit 8b918e08da50255cf1486f14a252f4cd46a1c143
Author: Nir Soffer <nsoffer(a)redhat.com>
AuthorDate: Fri Jun 14 21:48:01 2019 +0300
python: Use C99 standard
Using C99 enables useful features[1] is old enough so it should not be a
portability issue.
[1]
https://fedoramagazine.org/c99-features-gcc-fedora/
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
python/setup.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/python/setup.py b/python/setup.py
index 369451c..0f3d683 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -11,6 +11,7 @@ sanlock = Extension(name='sanlock',
sources=['sanlock.c'],
include_dirs=['../src'],
library_dirs=['../src'],
+ extra_compile_args=["-std=c99"],
extra_link_args=['-fPIE', '-Wl,-z,relro,-z,now'],
libraries=sanlocklib)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.