File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ $(SRC_DIR)/.prepared:
36
36
37
37
clean :
38
38
-$(MAKE ) -C $(SRC_DIR ) clean
39
- rm ./* .so
39
+ -rm -f ./* .so
40
40
41
41
distclean : clean
42
42
-$(MAKE ) -C $(SRC_DIR ) distclean
Original file line number Diff line number Diff line change @@ -317,6 +317,12 @@ ifeq ($(BUILD_TLS),module)
317
317
TLS_MODULE_CFLAGS+=-DUSE_OPENSSL=$(BUILD_MODULE) $(OPENSSL_CFLAGS) -DBUILD_TLS_MODULE=$(BUILD_MODULE)
318
318
endif
319
319
320
+ ifneq ($(SKIP_VEC_SETS ) ,yes)
321
+ vpath %.c ../modules/vector-sets
322
+ REDIS_VEC_SETS_OBJ=hnsw.o cJSON.o vset.o
323
+ FINAL_CFLAGS+=-DINCLUDE_VEC_SETS=1
324
+ endif
325
+
320
326
ifndef V
321
327
define MAKE_INSTALL
322
328
@printf ' %b %b\n' $(LINKCOLOR)INSTALL$(ENDCOLOR) $(BINCOLOR)$(1)$(ENDCOLOR) 1>&2
@@ -354,13 +360,6 @@ else
354
360
GEN_COMMANDS_FLAGS=
355
361
endif
356
362
357
-
358
- ifneq ($(SKIP_VEC_SETS ) ,yes)
359
- vpath %.c ../modules/vector-sets
360
- REDIS_VEC_SETS_OBJ=hnsw.o cJSON.o vset.o
361
- CFLAGS+=-DINCLUDE_VEC_SETS=1
362
- endif
363
-
364
363
REDIS_SERVER_NAME =redis-server$(PROG_SUFFIX )
365
364
REDIS_SENTINEL_NAME =redis-sentinel$(PROG_SUFFIX )
366
365
REDIS_SERVER_OBJ=threads_mngr.o adlist.o quicklist.o ae.o anet.o dict.o ebuckets.o eventnotifier.o iothread.o mstr.o kvstore.o server.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o cluster_legacy.o crc16.o endianconv.o slowlog.o eval.o bio.o rio.o rand.o memtest.o syscheck.o crcspeed.o crccombine.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o lolwut6.o acl.o tracking.o socket.o tls.o sha256.o timeout.o setcpuaffinity.o monotonic.o mt19937-64.o resp_parser.o call_reply.o script_lua.o script.o functions.o function_lua.o commands.o strl.o connection.o unix.o logreqres.o
You can’t perform that action at this time.
0 commit comments