From 8bf04f284c664c0974c467670c0bdb1c623799e5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 28 Jul 2013 09:01:38 +0200 Subject: redis: sync with rawhide + update to 2.6.14 --- redis-deps-PIC.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 redis-deps-PIC.patch (limited to 'redis-deps-PIC.patch') diff --git a/redis-deps-PIC.patch b/redis-deps-PIC.patch new file mode 100644 index 0000000..944fa35 --- /dev/null +++ b/redis-deps-PIC.patch @@ -0,0 +1,23 @@ +--- a/deps/Makefile ++++ a/deps/Makefile +@@ -58,7 +58,7 @@ ifeq ($(uname_S),SunOS) + 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: .make-prerequisites +--- 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 + + -- cgit