Accepting request 711901 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/711901 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=22
This commit is contained in:
commit
4da1845315
16
sanlock-lto-disable-fpie.patch
Normal file
16
sanlock-lto-disable-fpie.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Do not mix -fPIC and -FPIE, it is causing issue in LTO mode
|
||||
(boo#1138836).
|
||||
|
||||
diff --git a/python/setup.py b/python/setup.py
|
||||
index 91311a8..91b8b2f 100644
|
||||
--- a/python/setup.py
|
||||
+++ b/python/setup.py
|
||||
@@ -11,7 +11,7 @@ sanlock = Extension(name='sanlock',
|
||||
sources=['sanlock.c'],
|
||||
include_dirs=['../src'],
|
||||
library_dirs=['../src'],
|
||||
- extra_link_args=['-fPIE', '-Wl,-z,relro,-z,now'],
|
||||
+ extra_link_args=['-Wl,-z,relro,-z,now'],
|
||||
libraries=sanlocklib)
|
||||
|
||||
version = None
|
@ -1,3 +1,8 @@
|
||||
Mon Jun 24 14:49:15 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add sanlock-lto-disable-fpie.patch in order to handle
|
||||
boo#1138836. Extra -fPIE is stripped.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 17 21:45:36 UTC 2019 - Jim Fehlig <jfehlig@suse.com>
|
||||
|
||||
|
@ -44,6 +44,7 @@ Patch100: sanlock-SCHED_RESET_ON_FORK-undefined.patch
|
||||
Patch101: sanlock-python-prefix.patch
|
||||
Patch102: suse-systemd.patch
|
||||
Patch103: suse-no-date-time.patch
|
||||
Patch104: sanlock-lto-disable-fpie.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: libaio-devel
|
||||
BuildRequires: pkgconfig
|
||||
@ -129,6 +130,7 @@ common sanlock lockspace.
|
||||
%patch101
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
%patch104 -p1
|
||||
|
||||
%build
|
||||
# upstream does not require configure
|
||||
|
Loading…
Reference in New Issue
Block a user