Accepting request 799525 from home:Andreas_Schwab:Factory
- ppc-atomic.patch: use libatomic also on ppc OBS-URL: https://build.opensuse.org/request/show/799525 OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=141
This commit is contained in:
parent
a822998a21
commit
ae165de876
15
ppc-atomic.patch
Normal file
15
ppc-atomic.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Index: redis-5.0.9/src/Makefile
|
||||
===================================================================
|
||||
--- redis-5.0.9.orig/src/Makefile
|
||||
+++ redis-5.0.9/src/Makefile
|
||||
@@ -83,6 +83,10 @@ ifneq (,$(filter aarch64 armv,$(uname_M)
|
||||
else
|
||||
ifneq (,$(findstring armv,$(uname_M)))
|
||||
FINAL_LIBS+=-latomic
|
||||
+else
|
||||
+ifneq (,$(findstring ppc,$(uname_M)))
|
||||
+ FINAL_LIBS+=-latomic
|
||||
+endif
|
||||
endif
|
||||
endif
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 1 15:50:36 UTC 2020 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- ppc-atomic.patch: use libatomic also on ppc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 1 07:48:12 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
@ -42,6 +42,7 @@ Patch0: %{name}-conf.patch
|
||||
Patch1: %{name}-enable-bactrace-on-x86-ia64-and_arm32_only.patch
|
||||
Patch2: %{name}-disable_integration_logging.patch
|
||||
Patch3: reproducible.patch
|
||||
Patch4: ppc-atomic.patch
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: sysuser-shadow
|
||||
BuildRequires: sysuser-tools
|
||||
@ -67,6 +68,7 @@ echo "`grep -F %{name}-%{version}.tar.gz %{SOURCE10} | cut -d' ' -f4` %{SOURCE0
|
||||
%patch2
|
||||
%endif
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
export HOST=OBS # for reproducible builds
|
||||
|
Loading…
Reference in New Issue
Block a user