summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-07-18 12:25:43 +0800
committerKhem Raj <raj.khem@gmail.com>2023-07-20 19:08:57 -0700
commit47a49e9f58e7aa51d3e1b603592c18a1ddecc277 (patch)
tree94a071807d1d9f97af8dad3bad23f3b957485c48 /meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch
parent817ae6c4ad990e81a8c8514fa286f994f7c001b2 (diff)
downloadmeta-openembedded-47a49e9f58e7aa51d3e1b603592c18a1ddecc277.tar.gz
redis: upgrade 7.0.11 -> 7.0.12
Changelog: ========== -Re-enable downscale rehashing while there is a fork child (#12276) -Fix possible hang in HRANDFIELD, SRANDMEMBER, ZRANDMEMBER when used with <count> (#12276) -Improve fairness issue in RANDOMKEY, HRANDFIELD, SRANDMEMBER, ZRANDMEMBER, SPOP, and eviction (#12276) -Fix WAIT to be effective after a blocked module command being unblocked (#12220) -Avoid unnecessary full sync after master restart in a rare case (#12088) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch')
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch b/meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch
new file mode 100644
index 000000000..e8d8b1d53
--- /dev/null
+++ b/meta-oe/recipes-extended/redis/redis-7.0.12/0001-src-Do-not-reset-FINAL_LIBS.patch
@@ -0,0 +1,30 @@
1From e97a572d4aef099a961e43d528c0268e10d9f1e2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 10 Sep 2019 20:04:26 -0700
4Subject: [PATCH] src: Do not reset FINAL_LIBS
5
6This helps case where additional libraries are needed to be passed from
7environment to get it going
8
9e.g. -latomic is needed on clang/x86 to provide for 64bit atomics
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14---
15 src/Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/Makefile b/src/Makefile
19index ddabd44..5133884 100644
20--- a/src/Makefile
21+++ b/src/Makefile
22@@ -118,7 +118,7 @@ endif
23
24 FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
25 FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
26-FINAL_LIBS=-lm
27+FINAL_LIBS+=-lm
28 DEBUG=-g -ggdb
29
30 # Linux ARM32 needs -latomic at linking time