summaryrefslogtreecommitdiff
path: root/Makefile.toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.toolchain')
-rw-r--r--Makefile.toolchain2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain
index f6fa2b51eb..c19ad273c0 100644
--- a/Makefile.toolchain
+++ b/Makefile.toolchain
@@ -143,4 +143,4 @@ HOST_TEST_LDFLAGS=-Wl,-T core/host/host_exe.lds -lrt -pthread -rdynamic -lm\
# $1: name of variable to set
# $2: first default to use
# $3: second default to use
-set-option = $(eval $1=$$(if $(2),$(2),$(3)))
+set-option = $(eval $1=$$(strip $$(if $(2),$(2),$(3))))