From fdccb7c03d16fb433b625cee754203bb1d0e468b Mon Sep 17 00:00:00 2001 From: Rene Cannao Date: Tue, 3 Feb 2026 23:15:31 +0000 Subject: [PATCH] Export PROXYSQLGENAI to support building all packages with GenAI When running `PROXYSQLGENAI=1 make packages`, the flag needs to be passed to all sub-make processes spawned for each distribution. Adding `export PROXYSQLGENAI` ensures that sub-makes inherit the flag, so all packages are built with GenAI support and the correct version number (e.g., 4.0.6 instead of 3.0.6). This allows building all packages with GenAI using: PROXYSQLGENAI=1 make packages Individual package builds still work: PROXYSQLGENAI=1 make ubuntu24 PROXYSQLGENAI=1 make debian12-dbg etc. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index f18c2ff5b..33f2df859 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ ifeq ($(CURVER_CHECK),0) endif export CURVER +export PROXYSQLGENAI ### NOTES: ### SOURCE_DATE_EPOCH is used for reproducible builds