Skip to content

Commit

Permalink
fix: add missing -D prefixes when building on 32-bit architectures
Browse files Browse the repository at this point in the history
As reported here:

- #399 (comment)
  • Loading branch information
wincent committed Aug 30, 2022
1 parent 842f62e commit 6c8e2a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/wincent/commandt/lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c8e2a3

Please sign in to comment.