diff options
author | antirez <antirez@gmail.com> | 2015-07-09 11:25:10 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-07-09 11:25:29 +0200 |
commit | 1e12784259483991710183d127dc3abd4bd21f56 (patch) | |
tree | 2cb6b85b4f87752bb8d4379460c7c52e3fb1b8eb | |
parent | 5e04189887ed9100577374cede428c62d23fabe4 (diff) | |
download | redis-1e12784259483991710183d127dc3abd4bd21f56.tar.gz |
Geo: -Ofast breaks builds on older GCCs.
-rw-r--r-- | deps/geohash-int/Makefile | 2 | ||||
-rw-r--r-- | src/geo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/deps/geohash-int/Makefile b/deps/geohash-int/Makefile index bf9eaebb8..b7c259577 100644 --- a/deps/geohash-int/Makefile +++ b/deps/geohash-int/Makefile @@ -1,6 +1,6 @@ STD= WARN= -Wall -OPT= -Ofast +OPT= -O2 R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) R_LDFLAGS= $(LDFLAGS) @@ -580,7 +580,7 @@ void georadiusByMemberCommand(redisClient *c) { georadiusGeneric(c, RADIUS_MEMBER); } -/* GEODECODE long lat */ +/* GEODECODE score */ void geodecodeCommand(redisClient *c) { GeoHashBits geohash; if (getLongLongFromObjectOrReply(c, c->argv[1], (long long *)&geohash.bits, |