Geo: -Ofast breaks builds on older GCCs.

This commit is contained in:
antirez 2015-07-09 11:25:10 +02:00
parent 5e04189887
commit 1e12784259
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
STD=
WARN= -Wall
OPT= -Ofast
OPT= -O2
R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
R_LDFLAGS= $(LDFLAGS)

View File

@ -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,