SHA256
1
0
forked from pool/redis
redis/redis-2.4.15-linenoise-cflags.patch
Marcus Rueckert ff9cd96e18 - update to 2.4.15
too many changes see
  /usr/share/doc/packages/redis/00-RELEASENOTES
- added redis-2.4.15-linenoise-cflags.patch
  make sure we build the dependency with cflags
- refreshed redis-endian.patch

OBS-URL: https://build.opensuse.org/package/show/server:database/redis?expand=0&rev=30
2012-07-23 18:33:34 +00:00

18 lines
529 B
Diff

Index: deps/linenoise/Makefile
===================================================================
--- deps/linenoise/Makefile.orig
+++ deps/linenoise/Makefile
@@ -1,10 +1,10 @@
linenoise_example: linenoise.h linenoise.c
linenoise_example: linenoise.o example.o
- $(CC) $(ARCH) -Wall -W -Os -g -o linenoise_example linenoise.o example.o
+ $(CC) $(ARCH) $(CFLAGS) -o linenoise_example linenoise.o example.o
.c.o:
- $(CC) $(ARCH) -c -Wall -W -Os -g $<
+ $(CC) $(ARCH) -c $(CFLAGS) $<
clean:
rm -f linenoise_example *.o