diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-12-04 19:59:36 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-12-04 19:59:36 +0100 |
commit | e1117f76ed85f10a46d861cdff0b0c82c23cf1f6 (patch) | |
tree | c9bbe997a6af685836c150f71e9c8578f21bcccd /0002-redis-2.8.18-deps-library-fPIC-performance-tuning.patch | |
parent | e6733b88c58b2919f50e995e06dfe761f8df2a09 (diff) |
redis 2.8.18
Diffstat (limited to '0002-redis-2.8.18-deps-library-fPIC-performance-tuning.patch')
-rw-r--r-- | 0002-redis-2.8.18-deps-library-fPIC-performance-tuning.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/0002-redis-2.8.18-deps-library-fPIC-performance-tuning.patch b/0002-redis-2.8.18-deps-library-fPIC-performance-tuning.patch new file mode 100644 index 0000000..a9b68d7 --- /dev/null +++ b/0002-redis-2.8.18-deps-library-fPIC-performance-tuning.patch @@ -0,0 +1,24 @@ +diff -up redis-2.8.18/deps/linenoise/Makefile.pic redis-2.8.18/deps/linenoise/Makefile +--- redis-2.8.18/deps/linenoise/Makefile.pic 2014-12-04 11:36:52.000000000 +0100 ++++ redis-2.8.18/deps/linenoise/Makefile 2014-12-04 19:41:57.437824019 +0100 +@@ -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 + +diff -up redis-2.8.18/deps/Makefile.pic redis-2.8.18/deps/Makefile +--- redis-2.8.18/deps/Makefile.pic 2014-12-04 19:41:57.437824019 +0100 ++++ redis-2.8.18/deps/Makefile 2014-12-04 19:43:26.346186323 +0100 +@@ -58,7 +58,7 @@ ifeq ($(uname_S),SunOS) + LUA_CFLAGS= -D__C99FEATURES__=1 + endif + +-LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL $(CFLAGS) ++LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL $(CFLAGS) -fPIC + 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 |