Prevent building with modules on 32-bit systems (#14618)

Redis modules do not support 32-bit architectures. The build now fails
early when modules are enabled on such systems.
This commit is contained in:
YaacovHazan 2025-12-11 11:04:30 +02:00 committed by GitHub
parent 679e009b73
commit ec84bd6143
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,9 @@
SUBDIRS = src
ifeq ($(BUILD_WITH_MODULES), yes)
ifeq ($(MAKECMDGOALS),32bit)
$(error BUILD_WITH_MODULES=yes is not supported on 32 bit systems)
endif
SUBDIRS += modules
endif