From bba6a8f0c19e40e65b9f63d5bc69c6a3bfa7442b Mon Sep 17 00:00:00 2001 From: Magnus Ihse Bursie Date: Fri, 31 Jan 2025 14:29:35 +0000 Subject: [PATCH] 8349143: All make control variables need special propagation Reviewed-by: erikj --- make/PreInitSupport.gmk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make/PreInitSupport.gmk b/make/PreInitSupport.gmk index 775a7fd55db..5acc2163af1 100644 --- a/make/PreInitSupport.gmk +++ b/make/PreInitSupport.gmk @@ -61,7 +61,9 @@ COMMAND_LINE_VARIABLES := $(subst §,\ , $(call reverse, $(subst \ ,§,$(MAKEOVE # A list like FOO="val1" BAR="val2" containing all user-supplied make # variables that we should propagate. # The '§' <=> '\ 'dance is needed to keep values with space in them connected. -USER_MAKE_VARS := $(subst §,\ , $(filter-out $(addsuffix =%, $(INIT_CONTROL_VARIABLES)), \ +# This explicit propagation is needed to avoid problems with characters that needs +# escaping. +USER_MAKE_VARS := $(subst §,\ , $(filter-out $(addsuffix =%, $(ALL_CONTROL_VARIABLES)), \ $(subst \ ,§,$(MAKEOVERRIDES)))) # Setup information about available configurations, if any.