diff options
Diffstat (limited to 'meta-oe/recipes-extended/redis/redis-7.2.10/0004-src-Do-not-reset-FINAL_LIBS.patch')
| -rw-r--r-- | meta-oe/recipes-extended/redis/redis-7.2.10/0004-src-Do-not-reset-FINAL_LIBS.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.10/0004-src-Do-not-reset-FINAL_LIBS.patch b/meta-oe/recipes-extended/redis/redis-7.2.10/0004-src-Do-not-reset-FINAL_LIBS.patch new file mode 100644 index 0000000000..0513138b4e --- /dev/null +++ b/meta-oe/recipes-extended/redis/redis-7.2.10/0004-src-Do-not-reset-FINAL_LIBS.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 50fc46a12f6cf97e7b927d3ea29eecc9ebdea34d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 10 Sep 2019 20:04:26 -0700 | ||
| 4 | Subject: [PATCH] src: Do not reset FINAL_LIBS | ||
| 5 | |||
| 6 | This helps case where additional libraries are needed to be passed from | ||
| 7 | environment to get it going | ||
| 8 | |||
| 9 | e.g. -latomic is needed on clang/x86 to provide for 64bit atomics | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | |||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | src/Makefile | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | Index: redis-7.2.10/src/Makefile | ||
| 19 | =================================================================== | ||
| 20 | --- redis-7.2.10.orig/src/Makefile | ||
| 21 | +++ redis-7.2.10/src/Makefile | ||
| 22 | @@ -122,7 +122,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 | ||
