blob: 5b9b71ea698c675aa97f0868287fe0884478bb7b [file] [log] [blame]
Andrew Geissler5082cc72023-09-11 08:41:39 -04001From 41efa2f0cf08c91ff935bbb2d16ab233df7f5811 Mon Sep 17 00:00:00 2001
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00002From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 17:39:52 -0600
4Subject: [PATCH] hiredis: use default CC if it is set
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Instead of trying to automagically figure out CC, which breaks with OE
10as CC has spaces in it, just skip it if one was already passed in.
11
12Signed-off-by: Venture Research <tech@ventureresearch.com>
13
14Update to work with 4.0.8
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16
17Reworked for 6.0.4
18Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
19
20---
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000021 deps/hiredis/Makefile | 2 --
22 1 file changed, 2 deletions(-)
23
24diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
Andrew Geissler5082cc72023-09-11 08:41:39 -040025index bd2106b..9ce768d 100644
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000026--- a/deps/hiredis/Makefile
27+++ b/deps/hiredis/Makefile
Andrew Geissler5082cc72023-09-11 08:41:39 -040028@@ -36,8 +36,6 @@ endef
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000029 export REDIS_TEST_CONFIG
30
31 # Fallback to gcc when $CC is not in $PATH.
32-CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
33-CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
34 OPTIMIZATION?=-O3
Andrew Geissler5082cc72023-09-11 08:41:39 -040035 WARNINGS=-Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000036 DEBUG_FLAGS?= -g -ggdb