blob: 878cd3697340a2edea4d14e31c66efbdbfd83c87 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001From dc745a33f3875cc72d41bd34ed490b352e546352 Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 17:39:52 -0600
4Subject: [PATCH] hiredis: use default CC if it is set
5
6Instead of trying to automagically figure out CC, which breaks with OE
7as CC has spaces in it, just skip it if one was already passed in.
8
9Signed-off-by: Venture Research <tech@ventureresearch.com>
10
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011Update to work with 4.0.8
12Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013
Andrew Geisslerc87764f2020-06-27 00:16:32 -050014Reworked for 6.0.4
15Signed-off-by: Andreas MΓΌller <schnitzeltony@gmail.com>
Patrick Williamsb48b7b42016-08-17 15:04:38 -050016---
Andrew Geisslerc87764f2020-06-27 00:16:32 -050017 deps/hiredis/Makefile | 2 --
18 1 file changed, 2 deletions(-)
Patrick Williamsb48b7b42016-08-17 15:04:38 -050019
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
Andrew Geisslerc87764f2020-06-27 00:16:32 -050021index 25ac154..569f82b 100644
Patrick Williamsb48b7b42016-08-17 15:04:38 -050022--- a/deps/hiredis/Makefile
23+++ b/deps/hiredis/Makefile
Andrew Geisslerc87764f2020-06-27 00:16:32 -050024@@ -42,8 +42,6 @@ endef
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025 export REDIS_TEST_CONFIG
26
27 # Fallback to gcc when $CC is not in $PATH.
Andrew Geisslerc87764f2020-06-27 00:16:32 -050028-CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
29-CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
Patrick Williamsb48b7b42016-08-17 15:04:38 -050030 OPTIMIZATION?=-O3
Andrew Geisslerc87764f2020-06-27 00:16:32 -050031 WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers
32 DEBUG_FLAGS?= -g -ggdb
33--
342.21.3
35