summaryrefslogtreecommitdiffstats
path: root/redis-deps-PIC.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redis-deps-PIC.patch')
-rw-r--r--redis-deps-PIC.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/redis-deps-PIC.patch b/redis-deps-PIC.patch
deleted file mode 100644
index d29cdfa..0000000
--- a/redis-deps-PIC.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/deps/Makefile.pic 2014-09-04 20:14:53.780910375 +0200
-+++ a/deps/Makefile 2014-09-04 20:15:49.278133046 +0200
-@@ -58,7 +58,7 @@
- LUA_CFLAGS= -D__C99FEATURES__=1
- endif
-
--LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI $(CFLAGS)
-+LUA_CFLAGS+= -O2 -Wall -fPIC -DLUA_ANSI $(CFLAGS)
- LUA_LDFLAGS+= $(LDFLAGS)
- # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
- # challenging to cross-compile lua (and redis). These defines make it easier
---- a/deps/linenoise/Makefile
-+++ a/deps/linenoise/Makefile
-@@ -2,7 +2,7 @@ STD=
- WARN= -Wall
- OPT= -Os
-
--R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
-+R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) -fPIC
- R_LDFLAGS= $(LDFLAGS)
- DEBUG= -g
-
-