sanlock/sanlock-lto-disable-fpie.patch
James Fehlig 64349bd16a Accepting request 820767 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.8.1
  - python: add flake8 env
  - Add client debug logging
  _ Add per command debug logging
  - Misc bug fixes and improvements

OBS-URL: https://build.opensuse.org/request/show/820767
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=59
2020-07-13 22:36:18 +00:00

17 lines
648 B
Diff

Do not mix -fPIC and -FPIE, it is causing issue in LTO mode
(boo#1138836).
Index: sanlock-3.8.1/python/setup.py
===================================================================
--- sanlock-3.8.1.orig/python/setup.py
+++ sanlock-3.8.1/python/setup.py
@@ -12,7 +12,7 @@ sanlock = Extension(name='sanlock',
include_dirs=['../src'],
library_dirs=['../src'],
extra_compile_args=["-std=c99"],
- extra_link_args=['-fPIE', '-Wl,-z,relro,-z,now'],
+ extra_link_args=['-Wl,-z,relro,-z,now'],
libraries=sanlocklib)
version = None