From 6c8e2a3e3b5acd004ef0ba8cf367a626552aab90 Mon Sep 17 00:00:00 2001 From: Greg Hurrell Date: Tue, 30 Aug 2022 08:51:18 +0200 Subject: [PATCH] fix: add missing `-D` prefixes when building on 32-bit architectures As reported here: - https://github.com/wincent/command-t/issues/399#issuecomment-1231189157 --- lua/wincent/commandt/lib/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/wincent/commandt/lib/Makefile b/lua/wincent/commandt/lib/Makefile index 1571b37a..11950508 100644 --- a/lua/wincent/commandt/lib/Makefile +++ b/lua/wincent/commandt/lib/Makefile @@ -13,9 +13,9 @@ ifeq ($(LBITS),64) CCFLAGS += -DMMAP_SLAB_SIZE_CONF=137438953472 else # 32 M candidates. - CCFLAGS += MAX_FILES_CONF=33554432 + CCFLAGS += -DMAX_FILES_CONF=33554432 # 32 GB. - CCFLAGS += MMAP_SLAB_SIZE_CONF=34359738368 + CCFLAGS += -DMMAP_SLAB_SIZE_CONF=34359738368 endif ifdef DEBUG