python/setup.py | 1 +
1 file changed, 1 insertion(+)
New commits:
commit a1929080a6ce51879139eb8d05a425ccd3d37082
Author: David Teigland <teigland(a)redhat.com>
Date: Wed Oct 14 13:21:04 2015 -0500
python: add compile flags
diff --git a/python/setup.py b/python/setup.py
index efc7eff..91311a8 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_link_args=['-fPIE', '-Wl,-z,relro,-z,now'],
libraries=sanlocklib)
version = None
Show replies by date