diff options
Diffstat (limited to 'meta-oe/recipes-extended/redis/redis-7.2.8/0001-hiredis-use-default-CC-if-it-is-set.patch')
-rw-r--r-- | meta-oe/recipes-extended/redis/redis-7.2.8/0001-hiredis-use-default-CC-if-it-is-set.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.8/0001-hiredis-use-default-CC-if-it-is-set.patch b/meta-oe/recipes-extended/redis/redis-7.2.8/0001-hiredis-use-default-CC-if-it-is-set.patch new file mode 100644 index 0000000000..63bf403412 --- /dev/null +++ b/meta-oe/recipes-extended/redis/redis-7.2.8/0001-hiredis-use-default-CC-if-it-is-set.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From af4fc632c03b2a68be4206b4896f27fc4bb865ae Mon Sep 17 00:00:00 2001 | ||
2 | From: Venture Research <tech@ventureresearch.com> | ||
3 | Date: Fri, 8 Feb 2013 17:39:52 -0600 | ||
4 | Subject: [PATCH] hiredis: use default CC if it is set | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Instead of trying to automagically figure out CC, which breaks with OE | ||
10 | as CC has spaces in it, just skip it if one was already passed in. | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | Signed-off-by: Venture Research <tech@ventureresearch.com> | ||
15 | |||
16 | Update to work with 4.0.8 | ||
17 | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> | ||
18 | |||
19 | Reworked for 6.0.4 | ||
20 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
21 | --- | ||
22 | deps/hiredis/Makefile | 2 -- | ||
23 | 1 file changed, 2 deletions(-) | ||
24 | |||
25 | diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile | ||
26 | index bd2106b..9ce768d 100644 | ||
27 | --- a/deps/hiredis/Makefile | ||
28 | +++ b/deps/hiredis/Makefile | ||
29 | @@ -36,8 +36,6 @@ endef | ||
30 | export REDIS_TEST_CONFIG | ||
31 | |||
32 | # Fallback to gcc when $CC is not in $PATH. | ||
33 | -CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc') | ||
34 | -CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++') | ||
35 | OPTIMIZATION?=-O3 | ||
36 | WARNINGS=-Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers | ||
37 | DEBUG_FLAGS?= -g -ggdb | ||