mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Geo: -Ofast breaks builds on older GCCs.
This commit is contained in:
parent
5e04189887
commit
1e12784259
2
deps/geohash-int/Makefile
vendored
2
deps/geohash-int/Makefile
vendored
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user